Package org.apache.drill.exec.rpc
Class RpcConfig
java.lang.Object
org.apache.drill.exec.rpc.RpcConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
RpcConfig.RpcMessageType<SEND extends com.google.protobuf.MessageLite,
RECEIVE extends com.google.protobuf.MessageLite, T extends com.google.protobuf.Internal.EnumLite> -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkReceive
(int rpcType, Class<?> receiveClass) boolean
checkResponseSend
(com.google.protobuf.Internal.EnumLite responseType, Class<?> responseClass) boolean
getName()
int
boolean
static RpcConfig.RpcConfigBuilder
-
Method Details
-
getName
-
getTimeout
public int getTimeout() -
hasTimeout
public boolean hasTimeout() -
getExecutor
-
checkReceive
-
checkSend
-
checkResponseSend
public boolean checkResponseSend(com.google.protobuf.Internal.EnumLite responseType, Class<?> responseClass) -
newBuilder
-