Enum HAPolicyConfiguration.TYPE
- java.lang.Object
-
- java.lang.Enum<HAPolicyConfiguration.TYPE>
-
- org.apache.activemq.artemis.core.config.HAPolicyConfiguration.TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<HAPolicyConfiguration.TYPE>
- Enclosing interface:
- HAPolicyConfiguration
public static enum HAPolicyConfiguration.TYPE extends Enum<HAPolicyConfiguration.TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLOCATED
PRIMARY_ONLY
REPLICATION_BACKUP_LOCK_MANAGER
REPLICATION_BACKUP_QUORUM_VOTING
REPLICATION_PRIMARY_LOCK_MANAGER
REPLICATION_PRIMARY_QUORUM_VOTING
SHARED_STORE_BACKUP
SHARED_STORE_PRIMARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static HAPolicyConfiguration.TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static HAPolicyConfiguration.TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMARY_ONLY
public static final HAPolicyConfiguration.TYPE PRIMARY_ONLY
-
REPLICATION_PRIMARY_QUORUM_VOTING
public static final HAPolicyConfiguration.TYPE REPLICATION_PRIMARY_QUORUM_VOTING
-
REPLICATION_BACKUP_QUORUM_VOTING
public static final HAPolicyConfiguration.TYPE REPLICATION_BACKUP_QUORUM_VOTING
-
SHARED_STORE_PRIMARY
public static final HAPolicyConfiguration.TYPE SHARED_STORE_PRIMARY
-
SHARED_STORE_BACKUP
public static final HAPolicyConfiguration.TYPE SHARED_STORE_BACKUP
-
COLOCATED
public static final HAPolicyConfiguration.TYPE COLOCATED
-
REPLICATION_PRIMARY_LOCK_MANAGER
public static final HAPolicyConfiguration.TYPE REPLICATION_PRIMARY_LOCK_MANAGER
-
REPLICATION_BACKUP_LOCK_MANAGER
public static final HAPolicyConfiguration.TYPE REPLICATION_BACKUP_LOCK_MANAGER
-
-
Method Detail
-
values
public static HAPolicyConfiguration.TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HAPolicyConfiguration.TYPE c : HAPolicyConfiguration.TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HAPolicyConfiguration.TYPE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
-
-