public class StatusHandler extends Object implements RpcOutcomeListener<GeneralRPCProtos.Ack>
| Constructor and Description |
|---|
StatusHandler(Consumer<RpcException> consumer,
org.apache.drill.exec.ops.SendingAccountor sendingAccountor) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(RpcException ex) |
void |
interrupted(InterruptedException e) |
void |
success(GeneralRPCProtos.Ack value,
ByteBuf buffer) |
public StatusHandler(Consumer<RpcException> consumer, org.apache.drill.exec.ops.SendingAccountor sendingAccountor)
public void failed(RpcException ex)
failed in interface RpcOutcomeListener<GeneralRPCProtos.Ack>public void success(GeneralRPCProtos.Ack value, ByteBuf buffer)
success in interface RpcOutcomeListener<GeneralRPCProtos.Ack>public void interrupted(InterruptedException e)
interrupted in interface RpcOutcomeListener<GeneralRPCProtos.Ack>Copyright © 2017 The Apache Software Foundation. All rights reserved.