public static enum RpcClientFactory.ClientType extends Enum<RpcClientFactory.ClientType>
Enum Constant and Description |
---|
DEFAULT |
DEFAULT_FAILOVER |
DEFAULT_LOADBALANCE |
OTHER |
THRIFT |
Modifier and Type | Method and Description |
---|---|
protected String |
getClientClassName() |
static RpcClientFactory.ClientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcClientFactory.ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcClientFactory.ClientType OTHER
public static final RpcClientFactory.ClientType DEFAULT
public static final RpcClientFactory.ClientType DEFAULT_FAILOVER
public static final RpcClientFactory.ClientType DEFAULT_LOADBALANCE
public static final RpcClientFactory.ClientType THRIFT
public static RpcClientFactory.ClientType[] values()
for (RpcClientFactory.ClientType c : RpcClientFactory.ClientType.values()) System.out.println(c);
public static RpcClientFactory.ClientType 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 nullprotected String getClientClassName()
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.