public static enum IStoreBinding.Role extends Enum<IStoreBinding.Role>
Enum Constant and Description |
---|
Backup
Indicates that this binding is a backup binding in a store cluster.
|
Primary
Indicates that this binding is the primary binding in a store cluster.
|
Modifier and Type | Method and Description |
---|---|
static IStoreBinding.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IStoreBinding.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStoreBinding.Role Primary
A primary binding is fully functional
public static final IStoreBinding.Role Backup
When operating in backup mode, objects can be retrieved from the store but not updated or added.
public static IStoreBinding.Role[] values()
for (IStoreBinding.Role c : IStoreBinding.Role.values()) System.out.println(c);
public static IStoreBinding.Role 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 © 2019 Neeve Research, LLC. All Rights Reserved.