public class RpcConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RpcConfig.RpcConfigBuilder |
static class |
RpcConfig.RpcMessageType<SEND extends com.google.protobuf.MessageLite,RECEIVE extends com.google.protobuf.MessageLite,T extends com.google.protobuf.Internal.EnumLite> |
Modifier and Type | Method and Description |
---|---|
boolean |
checkReceive(int rpcType,
Class<?> receiveClass) |
boolean |
checkResponseSend(com.google.protobuf.Internal.EnumLite responseType,
Class<?> responseClass) |
boolean |
checkSend(com.google.protobuf.Internal.EnumLite send,
Class<?> sendClass,
Class<?> receiveClass) |
Executor |
getExecutor() |
String |
getName() |
int |
getTimeout() |
boolean |
hasTimeout() |
static RpcConfig.RpcConfigBuilder |
newBuilder() |
public String getName()
public int getTimeout()
public boolean hasTimeout()
public Executor getExecutor()
public boolean checkReceive(int rpcType, Class<?> receiveClass)
public boolean checkSend(com.google.protobuf.Internal.EnumLite send, Class<?> sendClass, Class<?> receiveClass)
public boolean checkResponseSend(com.google.protobuf.Internal.EnumLite responseType, Class<?> responseClass)
public static RpcConfig.RpcConfigBuilder newBuilder()
Copyright © 1970 The Apache Software Foundation. All rights reserved.