Package org.apache.solr.store.blockcache
Class BufferStore
- java.lang.Object
-
- org.apache.solr.store.blockcache.BufferStore
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
initNewBuffer(int bufferSize, long totalAmount)
static void
initNewBuffer(int bufferSize, long totalAmount, Metrics metrics)
static Store
instance(int bufferSize)
void
putBuffer(byte[] buffer)
byte[]
takeBuffer(int bufferSize)
-
-
-
Method Detail
-
initNewBuffer
public static void initNewBuffer(int bufferSize, long totalAmount)
-
initNewBuffer
public static void initNewBuffer(int bufferSize, long totalAmount, Metrics metrics)
-
instance
public static Store instance(int bufferSize)
-
takeBuffer
public byte[] takeBuffer(int bufferSize)
- Specified by:
takeBuffer
in interfaceStore
-
-