protected class AbstractSequentialFile.LocalBufferObserver extends Object implements TimedBufferObserver
Modifier | Constructor and Description |
---|---|
protected |
AbstractSequentialFile.LocalBufferObserver() |
Modifier and Type | Method and Description |
---|---|
void |
flushBuffer(ByteBuffer buffer,
boolean requestedSync,
List<IOAsyncTask> callbacks) |
int |
getRemainingBytes()
Return the number of remaining bytes that still fit on the observer (file)
|
ByteBuffer |
newBuffer(int size,
int limit) |
String |
toString() |
protected AbstractSequentialFile.LocalBufferObserver()
public void flushBuffer(ByteBuffer buffer, boolean requestedSync, List<IOAsyncTask> callbacks)
flushBuffer
in interface TimedBufferObserver
public ByteBuffer newBuffer(int size, int limit)
newBuffer
in interface TimedBufferObserver
public int getRemainingBytes()
TimedBufferObserver
getRemainingBytes
in interface TimedBufferObserver
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.