org.apache.solr.store.blockcache
Class BufferStore

java.lang.Object
  extended by org.apache.solr.store.blockcache.BufferStore
All Implemented Interfaces:
Store

public class BufferStore
extends Object
implements Store


Method Summary
static void initNewBuffer(int bufferSize, long totalAmount)
           
static Store instance(int bufferSize)
           
 void putBuffer(byte[] buffer)
           
 byte[] takeBuffer(int bufferSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initNewBuffer

public static void initNewBuffer(int bufferSize,
                                 long totalAmount)

instance

public static Store instance(int bufferSize)

takeBuffer

public byte[] takeBuffer(int bufferSize)
Specified by:
takeBuffer in interface Store

putBuffer

public void putBuffer(byte[] buffer)
Specified by:
putBuffer in interface Store


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.