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 java.lang.Object implements BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BookkeeperInternalCallbacks.WriteCallbackcb
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static BookieClientImpl.ChannelReadyForAddEntryCallbackcreate(BookieClientImpl bookieClient, io.netty.util.ReferenceCounted toSend, long ledgerId, long entryId, BookieId addr, java.lang.Object ctx, BookkeeperInternalCallbacks.WriteCallback cb, int options, byte[] masterKey, boolean allowFastFail, java.util.EnumSet<WriteFlag> writeFlags)voidoperationComplete(int rc, PerChannelBookieClient pcbc)voidrecycle()
-
-
-
Method Detail
-
create
static BookieClientImpl.ChannelReadyForAddEntryCallback create(BookieClientImpl bookieClient, io.netty.util.ReferenceCounted toSend, long ledgerId, long entryId, BookieId addr, java.lang.Object ctx, BookkeeperInternalCallbacks.WriteCallback cb, int options, byte[] masterKey, boolean allowFastFail, java.util.EnumSet<WriteFlag> writeFlags)
-
operationComplete
public void operationComplete(int rc, PerChannelBookieClient pcbc)- Specified by:
operationCompletein interfaceBookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient>
-
recycle
public void recycle()
-
-