public static enum ClusterProvider.DCNotify extends Enum<ClusterProvider.DCNotify>
Enum Constant and Description |
---|
ALL_BUT_LOCAL_DC
Send message to all cluster nodes in all datacenters, but NOT to this datacenter.
|
ALL_DCS
Send message to all cluster nodes in all DCs
|
LOCAL_DC_ONLY
Send message to all cluster nodes on THIS datacenter only
|
Modifier and Type | Method and Description |
---|---|
static ClusterProvider.DCNotify |
valueOf(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.
|
public static final ClusterProvider.DCNotify ALL_DCS
public static final ClusterProvider.DCNotify LOCAL_DC_ONLY
public static final ClusterProvider.DCNotify ALL_BUT_LOCAL_DC
Object.notify()
will be ignored as sender is ignored anyway due it is in this datacenterpublic static ClusterProvider.DCNotify[] values()
for (ClusterProvider.DCNotify c : ClusterProvider.DCNotify.values()) System.out.println(c);
public static ClusterProvider.DCNotify 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 © 2021 JBoss by Red Hat. All rights reserved.