Package org.apache.lucene.store
Class ByteBuffersDataOutput.ByteBufferRecycler
java.lang.Object
org.apache.lucene.store.ByteBuffersDataOutput.ByteBufferRecycler
- Enclosing class:
- ByteBuffersDataOutput
An implementation of a
ByteBuffer
allocation and recycling policy. The blocks are
recycled if exactly the same size is requested, otherwise they're released to be GCed.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ByteBufferRecycler
-
-
Method Details
-
allocate
-
reuse
-