public static enum RACAffinityContext.AffinityType extends Enum<RACAffinityContext.AffinityType>
Enum Constant and Description |
---|
TRANSACTION_BASED_AFFINITY |
WEBSESSION_BASED_AFFINITY |
Modifier and Type | Method and Description |
---|---|
static RACAffinityContext.AffinityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RACAffinityContext.AffinityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RACAffinityContext.AffinityType WEBSESSION_BASED_AFFINITY
public static final RACAffinityContext.AffinityType TRANSACTION_BASED_AFFINITY
public static RACAffinityContext.AffinityType[] values()
for (RACAffinityContext.AffinityType c : RACAffinityContext.AffinityType.values()) System.out.println(c);
public static RACAffinityContext.AffinityType 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 null