public enum AvailabilityMode extends Enum<AvailabilityMode>
USE_REPLICAS), the number of replicas
created is controlled by the max_replicas parameter in the ScaleOut StateServer
configuration.
The enum member is passed to NamedMap.setAvailabilityMode(AvailabilityMode)
By default, replication is disabled (NO_REPLICAS).| Enum Constant and Description |
|---|
NO_REPLICAS
Do not create replicas.
|
USE_REPLICAS
Create replica(s) of the NamedMap contents.
|
| Modifier and Type | Method and Description |
|---|---|
static AvailabilityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvailabilityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvailabilityMode USE_REPLICAS
max_replicas parameter in the ScaleOut StateServer
configuration.public static final AvailabilityMode NO_REPLICAS
public static AvailabilityMode[] values()
for (AvailabilityMode c : AvailabilityMode.values()) System.out.println(c);
public static AvailabilityMode 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 (C) 2007-2014 ScaleOut Software, Inc.