class ReadLastConfirmedOp
extends java.lang.Object
implements org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCallback
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
ReadLastConfirmedOp.LastConfirmedDataCallback
Wrapper to get all recovered data from the request.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ReadLastConfirmedOp(org.apache.bookkeeper.proto.BookieClient bookieClient,
DistributionSchedule schedule,
org.apache.bookkeeper.proto.checksum.DigestManager digestManager,
long ledgerId,
java.util.List<org.apache.bookkeeper.net.BookieId> ensemble,
byte[] ledgerKey,
ReadLastConfirmedOp.LastConfirmedDataCallback cb) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
getNumResponsesPending() |
void |
initiate() |
void |
initiateWithFencing() |
void |
readEntryComplete(int rc,
long ledgerId,
long entryId,
io.netty.buffer.ByteBuf buffer,
java.lang.Object ctx) |
public ReadLastConfirmedOp(org.apache.bookkeeper.proto.BookieClient bookieClient,
DistributionSchedule schedule,
org.apache.bookkeeper.proto.checksum.DigestManager digestManager,
long ledgerId,
java.util.List<org.apache.bookkeeper.net.BookieId> ensemble,
byte[] ledgerKey,
ReadLastConfirmedOp.LastConfirmedDataCallback cb)
public void initiate()
public void initiateWithFencing()
public void readEntryComplete(int rc,
long ledgerId,
long entryId,
io.netty.buffer.ByteBuf buffer,
java.lang.Object ctx)
readEntryComplete in interface org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryCallbackint getNumResponsesPending()
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.