net.rubyeye.xmemcached.buffer
类 CachedBufferAllocator.CachedIoBuffer

java.lang.Object
  继承者 net.rubyeye.xmemcached.buffer.CachedBufferAllocator.CachedIoBuffer
所有已实现的接口:
IoBuffer
包容类:
CachedBufferAllocator

public class CachedBufferAllocator.CachedIoBuffer
extends Object
implements IoBuffer


构造方法摘要
CachedBufferAllocator.CachedIoBuffer(ByteBuffer origBuffer)
           
 
方法摘要
 int capacity()
           
 void clear()
           
 void flip()
           
 void free()
           
 ByteBuffer getByteBuffer()
           
 ByteBuffer[] getByteBuffers()
           
 boolean hasRemaining()
           
 boolean isDirect()
           
 int limit()
           
 void limit(int limit)
           
 void mark()
           
 ByteOrder order()
           
 void order(ByteOrder byteOrder)
           
 int position()
           
 void position(int pos)
           
 void put(byte b)
           
 void put(byte[] bytes)
           
 void put(ByteBuffer buff)
           
 void putInt(int i)
           
 void putLong(long l)
           
 void putShort(short s)
           
 int remaining()
           
 void reset()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CachedBufferAllocator.CachedIoBuffer

public CachedBufferAllocator.CachedIoBuffer(ByteBuffer origBuffer)
方法详细信息

putInt

public void putInt(int i)
指定者:
接口 IoBuffer 中的 putInt

putShort

public void putShort(short s)
指定者:
接口 IoBuffer 中的 putShort

order

public ByteOrder order()
指定者:
接口 IoBuffer 中的 order

isDirect

public boolean isDirect()
指定者:
接口 IoBuffer 中的 isDirect

order

public void order(ByteOrder byteOrder)
指定者:
接口 IoBuffer 中的 order

putLong

public void putLong(long l)
指定者:
接口 IoBuffer 中的 putLong

free

public final void free()
指定者:
接口 IoBuffer 中的 free

getByteBuffers

public final ByteBuffer[] getByteBuffers()
指定者:
接口 IoBuffer 中的 getByteBuffers

put

public final void put(byte[] bytes)
指定者:
接口 IoBuffer 中的 put

capacity

public final int capacity()
指定者:
接口 IoBuffer 中的 capacity

clear

public final void clear()
指定者:
接口 IoBuffer 中的 clear

reset

public final void reset()
指定者:
接口 IoBuffer 中的 reset

remaining

public final int remaining()
指定者:
接口 IoBuffer 中的 remaining

position

public final int position()
指定者:
接口 IoBuffer 中的 position

mark

public final void mark()
指定者:
接口 IoBuffer 中的 mark

limit

public final int limit()
指定者:
接口 IoBuffer 中的 limit

hasRemaining

public final boolean hasRemaining()
指定者:
接口 IoBuffer 中的 hasRemaining

flip

public final void flip()
指定者:
接口 IoBuffer 中的 flip

put

public final void put(byte b)
指定者:
接口 IoBuffer 中的 put

put

public final void put(ByteBuffer buff)
指定者:
接口 IoBuffer 中的 put

getByteBuffer

public final ByteBuffer getByteBuffer()
指定者:
接口 IoBuffer 中的 getByteBuffer

limit

public final void limit(int limit)
指定者:
接口 IoBuffer 中的 limit

position

public final void position(int pos)
指定者:
接口 IoBuffer 中的 position


Copyright © 2013. All Rights Reserved.