protected class AbstractSequentialFile.LocalBufferObserver extends Object implements TimedBufferObserver
Modifier | Constructor and Description |
---|---|
protected |
LocalBufferObserver() |
Modifier and Type | Method and Description |
---|---|
void |
flushBuffer(ByteBuffer buffer,
boolean requestedSync,
List<IOCallback> callbacks) |
int |
getRemainingBytes()
Return the number of remaining bytes that still fit on the observer (file)
|
ByteBuffer |
newBuffer(int size,
int limit) |
String |
toString() |
public void flushBuffer(ByteBuffer buffer, boolean requestedSync, List<IOCallback> 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 © 2018 JBoss by Red Hat. All rights reserved.