public interface Buffer
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize() |
int |
getHeadPositionBytes() |
long |
getHeadSequence() |
int |
getSegmentSize() |
int |
getTotalSegments() |
boolean |
read(ByteWriteAdapter outputStream,
BufferColor bufferColor) |
boolean |
read(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback) |
boolean |
read(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback,
long sequence) |
boolean |
readWait(ByteWriteAdapter outputStream,
BufferColor bufferColor) |
boolean |
readWait(ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback) |
boolean |
readWait(TimeUnit unit,
long time,
ByteWriteAdapter outputStream,
BufferColor bufferColor) |
boolean |
readWait(TimeUnit unit,
long time,
ByteWriteAdapter outputStream,
BufferColor bufferColor,
BufferFilter callback) |
void |
write(InputStream inputStream,
BufferColor bufferColor) |
void |
write(int writeSize,
InputStream inputStream,
BufferColor bufferColor) |
void write(InputStream inputStream, BufferColor bufferColor) throws IOException
IOException
void write(int writeSize, InputStream inputStream, BufferColor bufferColor) throws IOException
IOException
boolean read(ByteWriteAdapter outputStream, BufferColor bufferColor) throws IOException
IOException
boolean read(ByteWriteAdapter outputStream, BufferColor bufferColor, BufferFilter callback) throws IOException
IOException
boolean read(ByteWriteAdapter outputStream, BufferColor bufferColor, BufferFilter callback, long sequence) throws IOException
IOException
boolean readWait(ByteWriteAdapter outputStream, BufferColor bufferColor) throws IOException, InterruptedException
IOException
InterruptedException
boolean readWait(TimeUnit unit, long time, ByteWriteAdapter outputStream, BufferColor bufferColor) throws IOException, InterruptedException
IOException
InterruptedException
boolean readWait(ByteWriteAdapter outputStream, BufferColor bufferColor, BufferFilter callback) throws IOException, InterruptedException
IOException
InterruptedException
boolean readWait(TimeUnit unit, long time, ByteWriteAdapter outputStream, BufferColor bufferColor, BufferFilter callback) throws IOException, InterruptedException
IOException
InterruptedException
long getHeadSequence()
int getHeadPositionBytes()
int getBufferSize()
int getTotalSegments()
int getSegmentSize()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.