public enum SupportedRpcType extends Enum<SupportedRpcType> implements RpcType
RpcType.Get| Modifier and Type | Method and Description |
|---|---|
RpcFactory |
newFactory(Parameters parameters) |
static SupportedRpcType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedRpcType |
valueOfIgnoreCase(String s)
Same as
valueOf(String) except that this method is case insensitive. |
static SupportedRpcType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedRpcType NETTY
public static final SupportedRpcType GRPC
public static final SupportedRpcType HADOOP
public static SupportedRpcType[] values()
for (SupportedRpcType c : SupportedRpcType.values()) System.out.println(c);
public static SupportedRpcType valueOf(String name)
valueOf in interface RpcTypename - 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 nullpublic static SupportedRpcType valueOfIgnoreCase(String s)
valueOf(String) except that this method is case insensitive.public RpcFactory newFactory(Parameters parameters)
newFactory in interface RpcTypeCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.