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.WriteCallback
cb
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) 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)
void
operationComplete(int rc, PerChannelBookieClient pcbc)
void
recycle()
-
-
-
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:
operationComplete
in interfaceBookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient>
-
recycle
public void recycle()
-
-