Package net.rubyeye.xmemcached.buffer
Class SimpleBufferAllocator
java.lang.Object
net.rubyeye.xmemcached.buffer.SimpleBufferAllocator
- All Implemented Interfaces:
BufferAllocator
Deprecated.
Simple IoBuffer allocator,allcate a new heap ByteBuffer each time.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IoBufferallocate(int capacity) Deprecated.final voiddispose()Deprecated.static final BufferAllocatorDeprecated.final IoBufferwrap(ByteBuffer byteBuffer) Deprecated.
-
Field Details
-
EMPTY_IOBUFFER
Deprecated.
-
-
Constructor Details
-
SimpleBufferAllocator
public SimpleBufferAllocator()Deprecated.
-
-
Method Details
-
allocate
Deprecated.- Specified by:
allocatein interfaceBufferAllocator
-
dispose
public final void dispose()Deprecated.- Specified by:
disposein interfaceBufferAllocator
-
newInstance
Deprecated. -
wrap
Deprecated.- Specified by:
wrapin interfaceBufferAllocator
-