public enum RPCType extends Enum<RPCType>
| Enum Constant and Description |
|---|
GENERAL
general handling on RPC interface,
e.g., return is response, and parameters are inputs
|
gRPC
gRPC
|
THRIFT
thrift
|
| Modifier and Type | Method and Description |
|---|---|
static RPCType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RPCType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RPCType GENERAL
public static final RPCType THRIFT
public static final RPCType gRPC
public static RPCType[] values()
for (RPCType c : RPCType.values()) System.out.println(c);
public static RPCType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016–2023. All rights reserved.