Enum Class StreamingServicesCoreProperties.ReplicationModes
java.lang.Object
java.lang.Enum<StreamingServicesCoreProperties.ReplicationModes>
org.apereo.cas.configuration.model.support.services.stream.StreamingServicesCoreProperties.ReplicationModes
- All Implemented Interfaces:
Serializable
,Comparable<StreamingServicesCoreProperties.ReplicationModes>
,Constable
- Enclosing class:
StreamingServicesCoreProperties
public static enum StreamingServicesCoreProperties.ReplicationModes
extends Enum<StreamingServicesCoreProperties.ReplicationModes>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIn this replication mode, all CAS nodes will try to sync copies of service definition files individually on each node.In this replication mode, one CAS service is designated to be the master that contains all service definition files locally, and will stream changes to other CAS passive nodes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ACTIVE
In this replication mode, all CAS nodes will try to sync copies of service definition files individually on each node. -
PASSIVE
In this replication mode, one CAS service is designated to be the master that contains all service definition files locally, and will stream changes to other CAS passive nodes. Passive CAS nodes only access the replication cache to retrieve services, and will not individually keep copies of the service definition files on disk.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-