RECEIVE - The type of message that will be returned.public class ControlTunnel.CustomFuture<RECEIVE> extends Object
| Constructor and Description |
|---|
CustomFuture(Controller.CustomSerDe<RECEIVE> serde,
DrillRpcFuture<BitControl.CustomMessage> future) |
| Modifier and Type | Method and Description |
|---|---|
RECEIVE |
get() |
RECEIVE |
get(long timeout,
TimeUnit unit) |
DrillBuf |
getBuffer() |
public CustomFuture(Controller.CustomSerDe<RECEIVE> serde, DrillRpcFuture<BitControl.CustomMessage> future)
public RECEIVE get(long timeout, TimeUnit unit) throws Exception, com.google.protobuf.InvalidProtocolBufferException
Exceptioncom.google.protobuf.InvalidProtocolBufferExceptionpublic DrillBuf getBuffer() throws RpcException
RpcExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.