Package org.apache.bookkeeper.proto
Class PerChannelBookieClient.BatchedReadCompletion
- java.lang.Object
-
- org.apache.bookkeeper.proto.PerChannelBookieClient.CompletionValue
-
- org.apache.bookkeeper.proto.PerChannelBookieClient.BatchedReadCompletion
-
- Enclosing class:
- PerChannelBookieClient
class PerChannelBookieClient.BatchedReadCompletion extends PerChannelBookieClient.CompletionValue
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BookkeeperInternalCallbacks.BatchedReadEntryCallback
cb
-
Fields inherited from class org.apache.bookkeeper.proto.PerChannelBookieClient.CompletionValue
ctx, entryId, ledgerId, startTime
-
-
Constructor Summary
Constructors Constructor Description BatchedReadCompletion(PerChannelBookieClient.CompletionKey key, BookkeeperInternalCallbacks.BatchedReadEntryCallback originalCallback, java.lang.Object originalCtx, long ledgerId, long entryId)
-
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.PerChannelBookieClient.CompletionValue
convertStatus, errorOutAndRunCallback, logOpResult, logResponse, maybeTimeout, restoreMdcContext, setOutstanding, timeout
-
-
-
-
Constructor Detail
-
BatchedReadCompletion
public BatchedReadCompletion(PerChannelBookieClient.CompletionKey key, BookkeeperInternalCallbacks.BatchedReadEntryCallback originalCallback, java.lang.Object originalCtx, long ledgerId, long entryId)
-
-
Method Detail
-
errorOut
public void errorOut()
- Specified by:
errorOut
in classPerChannelBookieClient.CompletionValue
-
errorOut
public void errorOut(int rc)
- Specified by:
errorOut
in classPerChannelBookieClient.CompletionValue
-
handleV2Response
public void handleV2Response(long ledgerId, long entryId, BookkeeperProtocol.StatusCode status, BookieProtocol.Response response)
- Overrides:
handleV2Response
in classPerChannelBookieClient.CompletionValue
-
handleV3Response
public void handleV3Response(BookkeeperProtocol.Response response)
- Specified by:
handleV3Response
in classPerChannelBookieClient.CompletionValue
-
-