Class CachedBufferAllocator.CachedIoBuffer
java.lang.Object
net.rubyeye.xmemcached.buffer.CachedBufferAllocator.CachedIoBuffer
- All Implemented Interfaces:
IoBuffer
- Enclosing class:
CachedBufferAllocator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intcapacity()final voidclear()final voidflip()final voidfree()final ByteBufferfinal ByteBuffer[]final booleanbooleanisDirect()final intlimit()final voidlimit(int limit) final voidmark()order()voidfinal intposition()final voidposition(int pos) final voidput(byte b) final voidput(byte[] bytes) final voidput(ByteBuffer buff) voidputInt(int i) voidputLong(long l) voidputShort(short s) final intfinal voidreset()
-
Field Details
-
ownerThread
Thread ownerThread -
origBuffer
ByteBuffer origBuffer
-
-
Constructor Details
-
CachedIoBuffer
-
-
Method Details
-
putInt
-
putShort
-
order
-
isDirect
-
order
-
putLong
-
free
-
getByteBuffers
- Specified by:
getByteBuffersin interfaceIoBuffer
-
put
-
capacity
-
clear
-
reset
-
remaining
-
position
-
mark
-
limit
-
hasRemaining
public final boolean hasRemaining()- Specified by:
hasRemainingin interfaceIoBuffer
-
flip
-
put
-
put
-
getByteBuffer
- Specified by:
getByteBufferin interfaceIoBuffer
-
limit
-
position
-