Uses of Interface
com.google.code.yanf4j.buffer.IoBufferAllocator
Packages that use IoBufferAllocator
-
Uses of IoBufferAllocator in com.google.code.yanf4j.buffer
Classes in com.google.code.yanf4j.buffer that implement IoBufferAllocatorModifier and TypeClassDescriptionclass
AnIoBufferAllocator
that caches the buffers which are likely to be reused during auto-expansion of the buffers.class
A simplisticIoBufferAllocator
which simply allocates a new buffer every time.Fields in com.google.code.yanf4j.buffer declared as IoBufferAllocatorModifier and TypeFieldDescriptionprivate static IoBufferAllocator
IoBuffer.allocator
The allocator used to create new buffersMethods in com.google.code.yanf4j.buffer that return IoBufferAllocatorModifier and TypeMethodDescriptionstatic IoBufferAllocator
IoBuffer.getAllocator()
Returns the allocator used by existing and new buffersMethods in com.google.code.yanf4j.buffer with parameters of type IoBufferAllocatorModifier and TypeMethodDescriptionstatic void
IoBuffer.setAllocator
(IoBufferAllocator newAllocator) Sets the allocator used by existing and new buffersConstructors in com.google.code.yanf4j.buffer with parameters of type IoBufferAllocatorModifierConstructorDescriptionprotected
AbstractIoBuffer
(IoBufferAllocator allocator, int initialCapacity) Creates a new parent buffer.