Package org.keycloak.cluster
Enum ClusterProvider.DCNotify
- java.lang.Object
- 
- java.lang.Enum<ClusterProvider.DCNotify>
- 
- org.keycloak.cluster.ClusterProvider.DCNotify
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<ClusterProvider.DCNotify>
 - Enclosing interface:
- ClusterProvider
 
 public static enum ClusterProvider.DCNotify extends Enum<ClusterProvider.DCNotify> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALL_BUT_LOCAL_DCSend message to all cluster nodes in all datacenters, but NOT to this datacenter.ALL_DCSSend message to all cluster nodes in all DCsLOCAL_DC_ONLYSend message to all cluster nodes on THIS datacenter only
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ClusterProvider.DCNotifyvalueOf(String name)Returns the enum constant of this type with the specified name.static ClusterProvider.DCNotify[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ALL_DCSpublic static final ClusterProvider.DCNotify ALL_DCS Send message to all cluster nodes in all DCs
 - 
LOCAL_DC_ONLYpublic static final ClusterProvider.DCNotify LOCAL_DC_ONLY Send message to all cluster nodes on THIS datacenter only
 - 
ALL_BUT_LOCAL_DCpublic static final ClusterProvider.DCNotify ALL_BUT_LOCAL_DC Send message to all cluster nodes in all datacenters, but NOT to this datacenter. Option "ignoreSender" of methodObject.notify()will be ignored as sender is ignored anyway due it is in this datacenter
 
- 
 - 
Method Detail- 
valuespublic static ClusterProvider.DCNotify[] 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 (ClusterProvider.DCNotify c : ClusterProvider.DCNotify.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ClusterProvider.DCNotify 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-