|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.bookkeeper.client.QuorumOpMonitor
public class QuorumOpMonitor
Monitors reponses from bookies to requests of a client. It implements two interfaces of the proto package that correspond to callbacks from BookieClient objects.
| Nested Class Summary | |
|---|---|
static class |
QuorumOpMonitor.PendingOp
|
static class |
QuorumOpMonitor.PendingReadOp
Objects of this type are used to keep track of the status of a given read request. |
| Method Summary | |
|---|---|
void |
readEntryComplete(int rc,
long ledgerId,
long entryId,
ByteBuffer bb,
Object ctx)
Callback method for read operations. |
void |
writeComplete(int rc,
long ledgerId,
long entryId,
Object ctx)
Callback method for write operations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void writeComplete(int rc,
long ledgerId,
long entryId,
Object ctx)
writeComplete in interface WriteCallback
public void readEntryComplete(int rc,
long ledgerId,
long entryId,
ByteBuffer bb,
Object ctx)
readEntryComplete in interface ReadEntryCallback
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||