Uses of Interface
com.google.code.yanf4j.buffer.IoBufferAllocator
-
Packages that use IoBufferAllocator Package Description com.google.code.yanf4j.buffer IoBuffer from mina -
-
Uses of IoBufferAllocator in com.google.code.yanf4j.buffer
Classes in com.google.code.yanf4j.buffer that implement IoBufferAllocator Modifier and Type Class Description class
CachedBufferAllocator
AnIoBufferAllocator
that caches the buffers which are likely to be reused during auto-expansion of the buffers.class
SimpleBufferAllocator
A simplisticIoBufferAllocator
which simply allocates a new buffer every time.Fields in com.google.code.yanf4j.buffer declared as IoBufferAllocator Modifier and Type Field Description private static IoBufferAllocator
IoBuffer. allocator
The allocator used to create new buffersMethods in com.google.code.yanf4j.buffer that return IoBufferAllocator Modifier and Type Method Description static IoBufferAllocator
IoBuffer. getAllocator()
Returns the allocator used by existing and new buffersMethods in com.google.code.yanf4j.buffer with parameters of type IoBufferAllocator Modifier and Type Method Description static void
IoBuffer. setAllocator(IoBufferAllocator newAllocator)
Sets the allocator used by existing and new buffersConstructors in com.google.code.yanf4j.buffer with parameters of type IoBufferAllocator Constructor Description AbstractIoBuffer(IoBufferAllocator allocator, int initialCapacity)
Creates a new parent buffer.
-