Package net.rubyeye.xmemcached.buffer
Class SimpleIoBuffer
- java.lang.Object
-
- net.rubyeye.xmemcached.buffer.SimpleIoBuffer
-
- All Implemented Interfaces:
IoBuffer
@Deprecated public class SimpleIoBuffer extends Object implements IoBuffer
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteBufferorigBufferDeprecated.
-
Constructor Summary
Constructors Constructor Description SimpleIoBuffer(ByteBuffer origBuffer)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcapacity()Deprecated.voidclear()Deprecated.voidflip()Deprecated.voidfree()Deprecated.ByteBuffergetByteBuffer()Deprecated.ByteBuffer[]getByteBuffers()Deprecated.booleanhasRemaining()Deprecated.booleanisDirect()Deprecated.intlimit()Deprecated.voidlimit(int limit)Deprecated.voidmark()Deprecated.ByteOrderorder()Deprecated.voidorder(ByteOrder byteOrder)Deprecated.intposition()Deprecated.voidposition(int pos)Deprecated.voidput(byte b)Deprecated.voidput(byte[] bytes)Deprecated.voidput(ByteBuffer buff)Deprecated.voidputInt(int i)Deprecated.voidputLong(long l)Deprecated.voidputShort(short s)Deprecated.intremaining()Deprecated.voidreset()Deprecated.
-
-
-
Field Detail
-
origBuffer
protected ByteBuffer origBuffer
Deprecated.
-
-
Constructor Detail
-
SimpleIoBuffer
public SimpleIoBuffer(ByteBuffer origBuffer)
Deprecated.
-
-
Method Detail
-
getByteBuffers
public final ByteBuffer[] getByteBuffers()
Deprecated.- Specified by:
getByteBuffersin interfaceIoBuffer
-
hasRemaining
public final boolean hasRemaining()
Deprecated.- Specified by:
hasRemainingin interfaceIoBuffer
-
put
public final void put(ByteBuffer buff)
Deprecated.
-
getByteBuffer
public final ByteBuffer getByteBuffer()
Deprecated.- Specified by:
getByteBufferin interfaceIoBuffer
-
position
public final void position(int pos)
Deprecated.
-
-