Package | Description |
---|---|
com.google.code.yanf4j.buffer |
IoBuffer from mina
|
com.google.code.yanf4j.core |
Networking core package
|
com.google.code.yanf4j.core.impl | |
com.google.code.yanf4j.nio.impl | |
com.google.code.yanf4j.util |
Yanf4j utilities
|
net.rubyeye.xmemcached.codec |
Memcached protocol codec
|
net.rubyeye.xmemcached.command |
Memcached protocol implementations
|
net.rubyeye.xmemcached.impl |
Manage tcp connection,memcached protocol optimized,and some
MBeans for monitor.
|
net.rubyeye.xmemcached.utils |
XMemcached Utilities
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractIoBuffer
A base implementation of
IoBuffer . |
class |
IoBufferWrapper
A
IoBuffer that wraps a buffer and proxies any operations to it. |
Modifier and Type | Method and Description |
---|---|
static IoBuffer |
IoBuffer.allocate(int capacity)
Returns the direct or heap buffer which is capable to store the specified
amount of bytes.
|
IoBuffer |
SimpleBufferAllocator.allocate(int capacity,
boolean direct) |
IoBuffer |
IoBufferAllocator.allocate(int capacity,
boolean direct)
Returns the buffer which is capable of the specified size.
|
static IoBuffer |
IoBuffer.allocate(int capacity,
boolean direct)
Returns the buffer which is capable of the specified size.
|
IoBuffer |
CachedBufferAllocator.allocate(int requestedCapacity,
boolean direct) |
IoBuffer |
IoBufferWrapper.asReadOnlyBuffer() |
abstract IoBuffer |
IoBuffer.asReadOnlyBuffer() |
IoBuffer |
AbstractIoBuffer.asReadOnlyBuffer() |
protected abstract IoBuffer |
AbstractIoBuffer.asReadOnlyBuffer0()
Implement this method to return the unexpandable read only version of
this buffer.
|
IoBuffer |
IoBufferWrapper.capacity(int newCapacity) |
abstract IoBuffer |
IoBuffer.capacity(int newCapacity)
Increases the capacity of this buffer.
|
IoBuffer |
AbstractIoBuffer.capacity(int newCapacity)
Increases the capacity of this buffer.
|
IoBuffer |
IoBufferWrapper.clear() |
abstract IoBuffer |
IoBuffer.clear() |
IoBuffer |
AbstractIoBuffer.clear() |
IoBuffer |
IoBufferWrapper.compact() |
abstract IoBuffer |
IoBuffer.compact() |
IoBuffer |
AbstractIoBuffer.compact() |
IoBuffer |
IoBufferWrapper.duplicate() |
abstract IoBuffer |
IoBuffer.duplicate() |
IoBuffer |
AbstractIoBuffer.duplicate() |
protected abstract IoBuffer |
AbstractIoBuffer.duplicate0()
Implement this method to return the unexpandable duplicate of this
buffer.
|
IoBuffer |
IoBufferWrapper.expand(int expectedRemaining) |
abstract IoBuffer |
IoBuffer.expand(int expectedRemaining)
Changes the capacity and limit of this buffer so this buffer get the
specified expectedRemaining room from the current position.
|
IoBuffer |
AbstractIoBuffer.expand(int expectedRemaining)
Changes the capacity and limit of this buffer so this buffer get the
specified expectedRemaining room from the current position.
|
IoBuffer |
IoBufferWrapper.expand(int pos,
int expectedRemaining) |
abstract IoBuffer |
IoBuffer.expand(int position,
int expectedRemaining)
Changes the capacity and limit of this buffer so this buffer get the
specified expectedRemaining room from the specified
position.
|
IoBuffer |
AbstractIoBuffer.expand(int pos,
int expectedRemaining)
Changes the capacity and limit of this buffer so this buffer get the
specified expectedRemaining room from the specified
position.
|
IoBuffer |
IoBufferWrapper.fill(byte value,
int size) |
abstract IoBuffer |
IoBuffer.fill(byte value,
int size)
Fills this buffer with the specified value.
|
IoBuffer |
AbstractIoBuffer.fill(byte value,
int size)
Fills this buffer with the specified value.
|
IoBuffer |
IoBufferWrapper.fill(int size) |
abstract IoBuffer |
IoBuffer.fill(int size)
Fills this buffer with
NUL (0x00) . |
IoBuffer |
AbstractIoBuffer.fill(int size)
Fills this buffer with
NUL (0x00) . |
IoBuffer |
IoBufferWrapper.fillAndReset(byte value,
int size) |
abstract IoBuffer |
IoBuffer.fillAndReset(byte value,
int size)
Fills this buffer with the specified value.
|
IoBuffer |
AbstractIoBuffer.fillAndReset(byte value,
int size)
Fills this buffer with the specified value.
|
IoBuffer |
IoBufferWrapper.fillAndReset(int size) |
abstract IoBuffer |
IoBuffer.fillAndReset(int size)
Fills this buffer with
NUL (0x00) . |
IoBuffer |
AbstractIoBuffer.fillAndReset(int size)
Fills this buffer with
NUL (0x00) . |
IoBuffer |
IoBufferWrapper.flip() |
abstract IoBuffer |
IoBuffer.flip() |
IoBuffer |
AbstractIoBuffer.flip() |
IoBuffer |
IoBufferWrapper.get(byte[] dst) |
abstract IoBuffer |
IoBuffer.get(byte[] dst) |
IoBuffer |
AbstractIoBuffer.get(byte[] dst) |
IoBuffer |
IoBufferWrapper.get(byte[] dst,
int offset,
int length) |
abstract IoBuffer |
IoBuffer.get(byte[] dst,
int offset,
int length) |
IoBuffer |
AbstractIoBuffer.get(byte[] dst,
int offset,
int length) |
IoBuffer |
IoBufferWrapper.getParentBuffer()
Returns the parent buffer that this buffer wrapped.
|
IoBuffer |
IoBufferWrapper.getSlice(int length) |
abstract IoBuffer |
IoBuffer.getSlice(int length)
TODO document me.
|
IoBuffer |
AbstractIoBuffer.getSlice(int length)
TODO document me.
|
IoBuffer |
IoBufferWrapper.getSlice(int index,
int length) |
abstract IoBuffer |
IoBuffer.getSlice(int index,
int length)
TODO document me.
|
IoBuffer |
AbstractIoBuffer.getSlice(int index,
int length)
TODO document me.
|
IoBuffer |
IoBufferWrapper.limit(int newLimit) |
abstract IoBuffer |
IoBuffer.limit(int newLimit) |
IoBuffer |
AbstractIoBuffer.limit(int newLimit) |
IoBuffer |
IoBufferWrapper.mark() |
abstract IoBuffer |
IoBuffer.mark() |
IoBuffer |
AbstractIoBuffer.mark() |
IoBuffer |
IoBufferWrapper.minimumCapacity(int minimumCapacity) |
abstract IoBuffer |
IoBuffer.minimumCapacity(int minimumCapacity)
|
IoBuffer |
AbstractIoBuffer.minimumCapacity(int minimumCapacity)
|
IoBuffer |
IoBufferWrapper.order(ByteOrder bo) |
abstract IoBuffer |
IoBuffer.order(ByteOrder bo) |
IoBuffer |
AbstractIoBuffer.order(ByteOrder bo) |
IoBuffer |
IoBufferWrapper.position(int newPosition) |
abstract IoBuffer |
IoBuffer.position(int newPosition) |
IoBuffer |
AbstractIoBuffer.position(int newPosition) |
IoBuffer |
IoBufferWrapper.put(byte b) |
abstract IoBuffer |
IoBuffer.put(byte b) |
IoBuffer |
AbstractIoBuffer.put(byte b) |
IoBuffer |
IoBufferWrapper.put(byte[] src) |
abstract IoBuffer |
IoBuffer.put(byte[] src) |
IoBuffer |
AbstractIoBuffer.put(byte[] src) |
IoBuffer |
IoBufferWrapper.put(byte[] src,
int offset,
int length) |
abstract IoBuffer |
IoBuffer.put(byte[] src,
int offset,
int length) |
IoBuffer |
AbstractIoBuffer.put(byte[] src,
int offset,
int length) |
IoBuffer |
IoBufferWrapper.put(ByteBuffer src) |
abstract IoBuffer |
IoBuffer.put(ByteBuffer src)
Writes the content of the specified src into this buffer.
|
IoBuffer |
AbstractIoBuffer.put(ByteBuffer src)
Writes the content of the specified src into this buffer.
|
IoBuffer |
IoBufferWrapper.put(int index,
byte b) |
abstract IoBuffer |
IoBuffer.put(int index,
byte b) |
IoBuffer |
AbstractIoBuffer.put(int index,
byte b) |
IoBuffer |
IoBufferWrapper.put(IoBuffer src) |
abstract IoBuffer |
IoBuffer.put(IoBuffer src)
Writes the content of the specified src into this buffer.
|
IoBuffer |
AbstractIoBuffer.put(IoBuffer src)
Writes the content of the specified src into this buffer.
|
IoBuffer |
IoBufferWrapper.putChar(char value) |
abstract IoBuffer |
IoBuffer.putChar(char value) |
IoBuffer |
AbstractIoBuffer.putChar(char value) |
IoBuffer |
IoBufferWrapper.putChar(int index,
char value) |
abstract IoBuffer |
IoBuffer.putChar(int index,
char value) |
IoBuffer |
AbstractIoBuffer.putChar(int index,
char value) |
IoBuffer |
IoBufferWrapper.putDouble(double value) |
abstract IoBuffer |
IoBuffer.putDouble(double value) |
IoBuffer |
AbstractIoBuffer.putDouble(double value) |
IoBuffer |
IoBufferWrapper.putDouble(int index,
double value) |
abstract IoBuffer |
IoBuffer.putDouble(int index,
double value) |
IoBuffer |
AbstractIoBuffer.putDouble(int index,
double value) |
IoBuffer |
IoBufferWrapper.putEnum(Enum<?> e) |
abstract IoBuffer |
IoBuffer.putEnum(Enum<?> e)
Writes an enum's ordinal value to the buffer as a byte.
|
IoBuffer |
AbstractIoBuffer.putEnum(Enum<?> e)
Writes an enum's ordinal value to the buffer as a byte.
|
IoBuffer |
IoBufferWrapper.putEnum(int index,
Enum<?> e) |
abstract IoBuffer |
IoBuffer.putEnum(int index,
Enum<?> e)
Writes an enum's ordinal value to the buffer as a byte.
|
IoBuffer |
AbstractIoBuffer.putEnum(int index,
Enum<?> e)
Writes an enum's ordinal value to the buffer as a byte.
|
IoBuffer |
IoBufferWrapper.putEnumInt(Enum<?> e) |
abstract IoBuffer |
IoBuffer.putEnumInt(Enum<?> e)
Writes an enum's ordinal value to the buffer as an integer.
|
IoBuffer |
AbstractIoBuffer.putEnumInt(Enum<?> e)
Writes an enum's ordinal value to the buffer as an integer.
|
IoBuffer |
IoBufferWrapper.putEnumInt(int index,
Enum<?> e) |
abstract IoBuffer |
IoBuffer.putEnumInt(int index,
Enum<?> e)
Writes an enum's ordinal value to the buffer as an integer.
|
IoBuffer |
AbstractIoBuffer.putEnumInt(int index,
Enum<?> e)
Writes an enum's ordinal value to the buffer as an integer.
|
<E extends Enum<E>> |
IoBufferWrapper.putEnumSet(int index,
Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSet(int index,
Set<E> set)
Writes the specified
Set to the buffer as a byte sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSet(int index,
Set<E> set)
Writes the specified
Set to the buffer as a byte sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSet(Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSet(Set<E> set)
Writes the specified
Set to the buffer as a byte sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSet(Set<E> set)
Writes the specified
Set to the buffer as a byte sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSetInt(int index,
Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSetInt(int index,
Set<E> set)
Writes the specified
Set to the buffer as an int sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSetInt(int index,
Set<E> set)
Writes the specified
Set to the buffer as an int sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSetInt(Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSetInt(Set<E> set)
Writes the specified
Set to the buffer as an int sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSetInt(Set<E> set)
Writes the specified
Set to the buffer as an int sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSetLong(int index,
Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSetLong(int index,
Set<E> set)
Writes the specified
Set to the buffer as a long sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSetLong(int index,
Set<E> set)
Writes the specified
Set to the buffer as a long sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSetLong(Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSetLong(Set<E> set)
Writes the specified
Set to the buffer as a long sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSetLong(Set<E> set)
Writes the specified
Set to the buffer as a long sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSetShort(int index,
Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSetShort(int index,
Set<E> set)
Writes the specified
Set to the buffer as a short sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSetShort(int index,
Set<E> set)
Writes the specified
Set to the buffer as a short sized bit
vector. |
<E extends Enum<E>> |
IoBufferWrapper.putEnumSetShort(Set<E> set) |
abstract <E extends Enum<E>> |
IoBuffer.putEnumSetShort(Set<E> set)
Writes the specified
Set to the buffer as a short sized bit
vector. |
<E extends Enum<E>> |
AbstractIoBuffer.putEnumSetShort(Set<E> set)
Writes the specified
Set to the buffer as a short sized bit
vector. |
IoBuffer |
IoBufferWrapper.putEnumShort(Enum<?> e) |
abstract IoBuffer |
IoBuffer.putEnumShort(Enum<?> e)
Writes an enum's ordinal value to the buffer as a short.
|
IoBuffer |
AbstractIoBuffer.putEnumShort(Enum<?> e)
Writes an enum's ordinal value to the buffer as a short.
|
IoBuffer |
IoBufferWrapper.putEnumShort(int index,
Enum<?> e) |
abstract IoBuffer |
IoBuffer.putEnumShort(int index,
Enum<?> e)
Writes an enum's ordinal value to the buffer as a short.
|
IoBuffer |
AbstractIoBuffer.putEnumShort(int index,
Enum<?> e)
Writes an enum's ordinal value to the buffer as a short.
|
IoBuffer |
IoBufferWrapper.putFloat(float value) |
abstract IoBuffer |
IoBuffer.putFloat(float value) |
IoBuffer |
AbstractIoBuffer.putFloat(float value) |
IoBuffer |
IoBufferWrapper.putFloat(int index,
float value) |
abstract IoBuffer |
IoBuffer.putFloat(int index,
float value) |
IoBuffer |
AbstractIoBuffer.putFloat(int index,
float value) |
IoBuffer |
IoBufferWrapper.putInt(int value) |
abstract IoBuffer |
IoBuffer.putInt(int value) |
IoBuffer |
AbstractIoBuffer.putInt(int value) |
IoBuffer |
IoBufferWrapper.putInt(int index,
int value) |
abstract IoBuffer |
IoBuffer.putInt(int index,
int value) |
IoBuffer |
AbstractIoBuffer.putInt(int index,
int value) |
IoBuffer |
IoBufferWrapper.putLong(int index,
long value) |
abstract IoBuffer |
IoBuffer.putLong(int index,
long value) |
IoBuffer |
AbstractIoBuffer.putLong(int index,
long value) |
IoBuffer |
IoBufferWrapper.putLong(long value) |
abstract IoBuffer |
IoBuffer.putLong(long value) |
IoBuffer |
AbstractIoBuffer.putLong(long value) |
IoBuffer |
IoBufferWrapper.putMediumInt(int value) |
abstract IoBuffer |
IoBuffer.putMediumInt(int value)
Relative put method for writing a medium int value.
|
IoBuffer |
AbstractIoBuffer.putMediumInt(int value)
Relative put method for writing a medium int value.
|
IoBuffer |
IoBufferWrapper.putMediumInt(int index,
int value) |
abstract IoBuffer |
IoBuffer.putMediumInt(int index,
int value)
Absolute put method for writing a medium int value.
|
IoBuffer |
AbstractIoBuffer.putMediumInt(int index,
int value)
Absolute put method for writing a medium int value.
|
IoBuffer |
IoBufferWrapper.putObject(Object o) |
abstract IoBuffer |
IoBuffer.putObject(Object o)
Writes the specified Java object to the buffer.
|
IoBuffer |
AbstractIoBuffer.putObject(Object o)
Writes the specified Java object to the buffer.
|
IoBuffer |
IoBufferWrapper.putPrefixedString(CharSequence in,
CharsetEncoder encoder) |
abstract IoBuffer |
IoBuffer.putPrefixedString(CharSequence in,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
AbstractIoBuffer.putPrefixedString(CharSequence in,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
IoBufferWrapper.putPrefixedString(CharSequence in,
int prefixLength,
CharsetEncoder encoder) |
abstract IoBuffer |
IoBuffer.putPrefixedString(CharSequence in,
int prefixLength,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
AbstractIoBuffer.putPrefixedString(CharSequence in,
int prefixLength,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
IoBufferWrapper.putPrefixedString(CharSequence in,
int prefixLength,
int padding,
byte padValue,
CharsetEncoder encoder) |
abstract IoBuffer |
IoBuffer.putPrefixedString(CharSequence val,
int prefixLength,
int padding,
byte padValue,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
AbstractIoBuffer.putPrefixedString(CharSequence val,
int prefixLength,
int padding,
byte padValue,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
IoBufferWrapper.putPrefixedString(CharSequence in,
int prefixLength,
int padding,
CharsetEncoder encoder) |
abstract IoBuffer |
IoBuffer.putPrefixedString(CharSequence in,
int prefixLength,
int padding,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
AbstractIoBuffer.putPrefixedString(CharSequence in,
int prefixLength,
int padding,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a string which
has a 16-bit length field before the actual encoded string, using the
specified encoder . |
IoBuffer |
IoBufferWrapper.putShort(int index,
short value) |
abstract IoBuffer |
IoBuffer.putShort(int index,
short value) |
IoBuffer |
AbstractIoBuffer.putShort(int index,
short value) |
IoBuffer |
IoBufferWrapper.putShort(short value) |
abstract IoBuffer |
IoBuffer.putShort(short value) |
IoBuffer |
AbstractIoBuffer.putShort(short value) |
IoBuffer |
IoBufferWrapper.putString(CharSequence in,
CharsetEncoder encoder) |
abstract IoBuffer |
IoBuffer.putString(CharSequence val,
CharsetEncoder encoder)
Writes the content of
in into this buffer using the
specified encoder . |
IoBuffer |
AbstractIoBuffer.putString(CharSequence val,
CharsetEncoder encoder)
Writes the content of
in into this buffer using the
specified encoder . |
IoBuffer |
IoBufferWrapper.putString(CharSequence in,
int fieldSize,
CharsetEncoder encoder) |
abstract IoBuffer |
IoBuffer.putString(CharSequence val,
int fieldSize,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a
NUL -terminated string using the specified
encoder . |
IoBuffer |
AbstractIoBuffer.putString(CharSequence val,
int fieldSize,
CharsetEncoder encoder)
Writes the content of
in into this buffer as a
NUL -terminated string using the specified
encoder . |
IoBuffer |
IoBufferWrapper.reset() |
abstract IoBuffer |
IoBuffer.reset() |
IoBuffer |
AbstractIoBuffer.reset() |
IoBuffer |
IoBufferWrapper.rewind() |
abstract IoBuffer |
IoBuffer.rewind() |
IoBuffer |
AbstractIoBuffer.rewind() |
IoBuffer |
IoBufferWrapper.setAutoExpand(boolean autoExpand) |
abstract IoBuffer |
IoBuffer.setAutoExpand(boolean autoExpand)
Turns on or off autoExpand.
|
IoBuffer |
AbstractIoBuffer.setAutoExpand(boolean autoExpand)
Turns on or off autoExpand.
|
IoBuffer |
IoBufferWrapper.setAutoShrink(boolean autoShrink) |
abstract IoBuffer |
IoBuffer.setAutoShrink(boolean autoShrink)
Turns on or off autoShrink.
|
IoBuffer |
AbstractIoBuffer.setAutoShrink(boolean autoShrink)
Turns on or off autoShrink.
|
IoBuffer |
IoBufferWrapper.shrink() |
abstract IoBuffer |
IoBuffer.shrink()
Changes the capacity of this buffer so this buffer occupies as less
memory as possible while retaining the position, limit and the buffer
content between the position and limit.
|
IoBuffer |
AbstractIoBuffer.shrink()
Changes the capacity of this buffer so this buffer occupies as less
memory as possible while retaining the position, limit and the buffer
content between the position and limit.
|
IoBuffer |
IoBufferWrapper.skip(int size) |
abstract IoBuffer |
IoBuffer.skip(int size)
Forwards the position of this buffer as the specified
size
bytes. |
IoBuffer |
AbstractIoBuffer.skip(int size)
Forwards the position of this buffer as the specified
size
bytes. |
IoBuffer |
IoBufferWrapper.slice() |
abstract IoBuffer |
IoBuffer.slice() |
IoBuffer |
AbstractIoBuffer.slice() |
protected abstract IoBuffer |
AbstractIoBuffer.slice0()
Implement this method to return the unexpandable slice of this buffer.
|
IoBuffer |
IoBufferWrapper.sweep() |
abstract IoBuffer |
IoBuffer.sweep()
Clears this buffer and fills its content with NUL.
|
IoBuffer |
AbstractIoBuffer.sweep()
Clears this buffer and fills its content with NUL.
|
IoBuffer |
IoBufferWrapper.sweep(byte value) |
abstract IoBuffer |
IoBuffer.sweep(byte value)
double Clears this buffer and fills its content with value.
|
IoBuffer |
AbstractIoBuffer.sweep(byte value)
double Clears this buffer and fills its content with value.
|
static IoBuffer |
IoBuffer.wrap(byte[] byteArray)
Wraps the specified byte array into MINA heap buffer.
|
static IoBuffer |
IoBuffer.wrap(byte[] byteArray,
int offset,
int length)
Wraps the specified byte array into MINA heap buffer.
|
IoBuffer |
SimpleBufferAllocator.wrap(ByteBuffer nioBuffer) |
IoBuffer |
IoBufferAllocator.wrap(ByteBuffer nioBuffer)
Wraps the specified NIO
ByteBuffer into MINA buffer. |
static IoBuffer |
IoBuffer.wrap(ByteBuffer nioBuffer)
Wraps the specified NIO
ByteBuffer into MINA buffer. |
IoBuffer |
CachedBufferAllocator.wrap(ByteBuffer nioBuffer) |
Modifier and Type | Method and Description |
---|---|
int |
IoBufferWrapper.compareTo(IoBuffer that) |
int |
AbstractIoBuffer.compareTo(IoBuffer that) |
IoBuffer |
IoBufferWrapper.put(IoBuffer src) |
abstract IoBuffer |
IoBuffer.put(IoBuffer src)
Writes the content of the specified src into this buffer.
|
IoBuffer |
AbstractIoBuffer.put(IoBuffer src)
Writes the content of the specified src into this buffer.
|
Constructor and Description |
---|
IoBufferWrapper(IoBuffer buf)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
IoBuffer |
CodecFactory.Encoder.encode(Object message,
Session session) |
IoBuffer |
WriteMessage.getWriteBuffer() |
Modifier and Type | Method and Description |
---|---|
Object |
CodecFactory.Decoder.decode(IoBuffer buff,
Session session) |
void |
WriteMessage.setWriteBuffer(IoBuffer buffers) |
Modifier and Type | Field and Description |
---|---|
protected IoBuffer |
WriteMessageImpl.buffer |
protected IoBuffer |
AbstractSession.readBuffer |
static IoBuffer |
TextLineCodecFactory.SPLIT |
Modifier and Type | Method and Description |
---|---|
IoBuffer |
ByteBufferCodecFactory.ByteBufferEncoder.encode(Object message,
Session session) |
IoBuffer |
AbstractSession.getReadBuffer() |
IoBuffer |
WriteMessageImpl.getWriteBuffer() |
Modifier and Type | Method and Description |
---|---|
Object |
ByteBufferCodecFactory.ByteBufferDecoder.decode(IoBuffer buff,
Session session) |
void |
AbstractSession.setReadBuffer(IoBuffer readBuffer) |
void |
WriteMessageImpl.setWriteBuffer(IoBuffer buffers) |
Modifier and Type | Method and Description |
---|---|
protected Object |
NioTCPSession.blockingWrite(SelectableChannel channel,
WriteMessage message,
IoBuffer writeBuffer)
Blocking write using temp selector
|
protected long |
AbstractNioSession.doRealWrite(SelectableChannel channel,
IoBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
ShiftOrByteBufferMatcher.matchAll(IoBuffer buffer) |
List<Integer> |
ShiftAndByteBufferMatcher.matchAll(IoBuffer buffer) |
List<Integer> |
ByteBufferMatcher.matchAll(IoBuffer buffer) |
int |
ShiftOrByteBufferMatcher.matchFirst(IoBuffer buffer) |
int |
ShiftAndByteBufferMatcher.matchFirst(IoBuffer buffer) |
int |
ByteBufferMatcher.matchFirst(IoBuffer buffer) |
Constructor and Description |
---|
ShiftAndByteBufferMatcher(IoBuffer pat) |
ShiftOrByteBufferMatcher(IoBuffer pat) |
Modifier and Type | Method and Description |
---|---|
IoBuffer |
MemcachedEncoder.encode(Object message,
Session session) |
Modifier and Type | Method and Description |
---|---|
Object |
MemcachedDecoder.decode(IoBuffer buffer,
Session origSession) |
Modifier and Type | Field and Description |
---|---|
protected IoBuffer |
Command.ioBuffer |
Modifier and Type | Method and Description |
---|---|
IoBuffer |
Command.getIoBuffer() |
IoBuffer |
Command.getWriteBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
Command.setIoBuffer(IoBuffer ioBuffer) |
void |
Command.setWriteBuffer(IoBuffer buffers) |
Modifier and Type | Field and Description |
---|---|
static IoBuffer |
MemcachedHandler.EMPTY_BUF |
Modifier and Type | Method and Description |
---|---|
static void |
ByteUtils.setArguments(IoBuffer bb,
Object... args) |
Copyright © 2016. All rights reserved.