BookieProtocol.READENTRY, (short)options).toInt());
tmpEntry.writeLong(ledgerId);
tmpEntry.writeLong(entryId);
ChannelFuture future = channel.write(tmpEntry);
future.addListener(new ChannelFutureListener() {
@Override
public void operationComplete(ChannelFuture future) throws Exception {
if (future.isSuccess()) {
if (LOG.isDebugEnabled()) {
LOG.debug("Successfully wrote request for reading entry: " + entryId + " ledger-id: "