Package org.apache.bookkeeper.proto
Class BookieClientImpl.ChannelReadyForAddEntryCallback
java.lang.Object
org.apache.bookkeeper.proto.BookieClientImpl.ChannelReadyForAddEntryCallback
- All Implemented Interfaces:
BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient>
- Enclosing class:
- BookieClientImpl
static class BookieClientImpl.ChannelReadyForAddEntryCallback
extends Object
implements BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription(package private) static BookieClientImpl.ChannelReadyForAddEntryCallbackcreate(BookieClientImpl bookieClient, io.netty.util.ReferenceCounted toSend, long ledgerId, long entryId, BookieId addr, Object ctx, BookkeeperInternalCallbacks.WriteCallback cb, int options, byte[] masterKey, boolean allowFastFail, EnumSet<WriteFlag> writeFlags) voidoperationComplete(int rc, PerChannelBookieClient pcbc) voidrecycle()
-
Field Details
-
cb
-
-
Method Details
-
create
static BookieClientImpl.ChannelReadyForAddEntryCallback create(BookieClientImpl bookieClient, io.netty.util.ReferenceCounted toSend, long ledgerId, long entryId, BookieId addr, Object ctx, BookkeeperInternalCallbacks.WriteCallback cb, int options, byte[] masterKey, boolean allowFastFail, EnumSet<WriteFlag> writeFlags) -
operationComplete
- Specified by:
operationCompletein interfaceBookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient>
-
recycle
public void recycle()
-