Package org.apache.bookkeeper.proto
Class BatchedReadCompletion
- java.lang.Object
-
- org.apache.bookkeeper.proto.CompletionValue
-
- org.apache.bookkeeper.proto.BatchedReadCompletion
-
class BatchedReadCompletion extends CompletionValue
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BookkeeperInternalCallbacks.BatchedReadEntryCallbackcb-
Fields inherited from class org.apache.bookkeeper.proto.CompletionValue
ctx, entryId, ledgerId, LOG, mdcContextMap, opLogger, perChannelBookieClient, startTime, timeoutOpLogger
-
-
Constructor Summary
Constructors Constructor Description BatchedReadCompletion(CompletionKey key, BookkeeperInternalCallbacks.BatchedReadEntryCallback originalCallback, java.lang.Object originalCtx, long ledgerId, long entryId, PerChannelBookieClient perChannelBookieClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderrorOut()voiderrorOut(int rc)voidhandleV2Response(long ledgerId, long entryId, BookkeeperProtocol.StatusCode status, BookieProtocol.Response response)voidhandleV3Response(BookkeeperProtocol.Response response)-
Methods inherited from class org.apache.bookkeeper.proto.CompletionValue
convertStatus, errorOutAndRunCallback, logOpResult, logResponse, maybeTimeout, release, restoreMdcContext, setOutstanding, timeout
-
-
-
-
Constructor Detail
-
BatchedReadCompletion
public BatchedReadCompletion(CompletionKey key, BookkeeperInternalCallbacks.BatchedReadEntryCallback originalCallback, java.lang.Object originalCtx, long ledgerId, long entryId, PerChannelBookieClient perChannelBookieClient)
-
-
Method Detail
-
errorOut
public void errorOut()
- Specified by:
errorOutin classCompletionValue
-
errorOut
public void errorOut(int rc)
- Specified by:
errorOutin classCompletionValue
-
handleV2Response
public void handleV2Response(long ledgerId, long entryId, BookkeeperProtocol.StatusCode status, BookieProtocol.Response response)- Overrides:
handleV2Responsein classCompletionValue
-
handleV3Response
public void handleV3Response(BookkeeperProtocol.Response response)
- Specified by:
handleV3Responsein classCompletionValue
-
-