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.BatchedReadEntryCallback
cb
-
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 void
errorOut()
void
errorOut(int rc)
void
handleV2Response(long ledgerId, long entryId, BookkeeperProtocol.StatusCode status, BookieProtocol.Response response)
void
handleV3Response(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:
errorOut
in classCompletionValue
-
errorOut
public void errorOut(int rc)
- Specified by:
errorOut
in classCompletionValue
-
handleV2Response
public void handleV2Response(long ledgerId, long entryId, BookkeeperProtocol.StatusCode status, BookieProtocol.Response response)
- Overrides:
handleV2Response
in classCompletionValue
-
handleV3Response
public void handleV3Response(BookkeeperProtocol.Response response)
- Specified by:
handleV3Response
in classCompletionValue
-
-