public abstract class AbstractClusterBuffer
extends java.lang.Object
| Constructor and Description |
|---|
AbstractClusterBuffer() |
| Modifier and Type | Method and Description |
|---|---|
long |
capacity() |
void |
clear() |
boolean |
isAvailable() |
int |
length() |
int |
limit() |
void |
limitNext(int count) |
void |
markReader() |
void |
markSize()
Might be called with N depth
|
void |
markWriter() |
byte |
readByte() |
void |
readBytes(byte[] data,
int offset,
int length) |
byte[] |
readBytes(int length) |
int |
readerPosition() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
void |
release() |
int |
remaining() |
void |
resetNextLimit() |
void |
resetReader() |
void |
resetWriter() |
void |
setReaderPosition(int position) |
void |
setWriterPosition(int position) |
int |
sizeMarkPosition() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] bytes) |
void |
writeBytes(byte[] buffer,
int offset,
int count) |
void |
writeFromBuffer(java.nio.ByteBuffer buffer) |
void |
writeInt(int value) |
void |
writeLong(long value) |
int |
writerPosition() |
void |
writeShort(short s) |
void |
writeSize() |
java.nio.ByteBuffer |
writeToBuffer() |
public int readerPosition()
public int limit()
public int remaining()
public void clear()
public void release()
public boolean isAvailable()
public void setReaderPosition(int position)
public java.nio.ByteBuffer writeToBuffer()
public byte readByte()
public byte[] readBytes(int length)
public void readBytes(byte[] data,
int offset,
int length)
public long readLong()
public int readInt()
public short readShort()
public void markReader()
public void resetReader()
public void limitNext(int count)
public void resetNextLimit()
public int writerPosition()
public long capacity()
public int length()
public void setWriterPosition(int position)
public void writeByte(byte b)
public void writeBytes(byte[] bytes)
public void writeBytes(byte[] buffer,
int offset,
int count)
public void writeLong(long value)
public void writeInt(int value)
public void writeShort(short s)
public void writeFromBuffer(java.nio.ByteBuffer buffer)
public void resetWriter()
public void markWriter()
public void markSize()
public int sizeMarkPosition()
public void writeSize()
Copyright © 2015 Artem Dmitriev. All Rights Reserved.