|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SrvMonAppStoreICRRole>
com.neeve.server.mon.SrvMonAppStoreICRRole
@Generated(value="com.neeve.adm.AdmEnumeration",
date="Wed Jun 06 14:04:24 EDT 2018")
public enum SrvMonAppStoreICRRoleEnumerates Series data types.
In inter-cluster replication, the store contents of a cluster are replicated to one or more receiving clusters. This enumeration enumerates the different replication roles that can be assigned to clusters. Assigning a replication role to a cluster tantamounts to assigning the same inter-cluster replication role to all members of the cluster.
| Enum Constant Summary | |
|---|---|
None
Indicate that inter cluster replication is not configured for the cluster. |
|
Sender
Cluster members designated with this role serve serve as the inter-cluster replication senders. |
|
StandaloneReceiver
Cluster members designated with this role serve as standalone inter-cluster replication receivers. |
|
| Field Summary | |
|---|---|
static SrvMonAppStoreICRRole[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays. |
int |
val
|
static List<SrvMonAppStoreICRRole> |
VALUES
A zero garbage alternative to values(). |
| Method Summary | |
|---|---|
static SrvMonAppStoreICRRole |
fromCode(int code)
Gets the value corresponding to the provided int 'code' value. |
static SrvMonAppStoreICRRole |
fromCodeString(String value)
Gets the value corresponding to the provided 'code' value in its String form. |
static SrvMonAppStoreICRRole |
fromValue(int val)
Gets the value corresponding to the provided 'constant' value. |
String |
getCodeString()
Gets the code value for this enumeration as a String. |
static Class<?> |
getCodeType()
Gets the code type with which this enumeration was generated. |
static boolean |
hasValue(int val)
Tests if the passed in value represents a 'constant' in this enumeration. |
static SrvMonAppStoreICRRole |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SrvMonAppStoreICRRole[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SrvMonAppStoreICRRole None
public static final SrvMonAppStoreICRRole Sender
public static final SrvMonAppStoreICRRole StandaloneReceiver
| Field Detail |
|---|
public static final List<SrvMonAppStoreICRRole> VALUES
values().
public static final SrvMonAppStoreICRRole[] EMPTY_ARRAY
public final int val
| Method Detail |
|---|
public static SrvMonAppStoreICRRole[] values()
for (SrvMonAppStoreICRRole c : SrvMonAppStoreICRRole.values()) System.out.println(c);
public static SrvMonAppStoreICRRole valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static final boolean hasValue(int val)
val - The value to test for.
public static final SrvMonAppStoreICRRole fromValue(int val)
val - The 'constant' value to look up.
IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final SrvMonAppStoreICRRole fromCode(int code)
code - The int 'code' value to look up.
IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final SrvMonAppStoreICRRole fromCodeString(String value)
value - The String 'code' value to look up.
IllegalArgumentException - if the provided code is not a valid code for this enumpublic static final Class<?> getCodeType()
public final String getCodeString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||