public static enum TopologyEvent.Type extends java.lang.Enum<TopologyEvent.Type>
|Enum Constant and Description|
One or many properties have been changed on an instance which is part of the topology.
Informs the service about a state change in the topology.
Informs the service about the fact that a state change was detected in the topology/cluster and that the new state is in the process of being discovered.
Informs the service about the initial topology state - this is only sent once at bind-time and is the first one a TopologyEventListener receives (after the implementation bundle was activated).
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final TopologyEvent.Type TOPOLOGY_INIT
public static final TopologyEvent.Type TOPOLOGY_CHANGING
After receiving a TOPOLOGY_CHANGING and before receiving a TOPOLOGY_CHANGED event a TopologyEventListener cannot make any assumptions wrt the topology whatsoever, including whether or not the local instance is part of it at all (partitioning).
An implementation must always send a TOPOLOGY_CHANGING before a TOPOLOGY_CHANGED.
public static final TopologyEvent.Type TOPOLOGY_CHANGED
A state change includes:
Note that a TOPOLOGY_CHANGED can also include changes in the properties!
public static final TopologyEvent.Type PROPERTIES_CHANGED
This event is sent when otherwise the topology remains identical.
public static TopologyEvent.Type values()
for (TopologyEvent.Type c : TopologyEvent.Type.values()) System.out.println(c);
public static TopologyEvent.Type valueOf(java.lang.String name)
name- the name of the enum constant to be returned.
java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
java.lang.NullPointerException- if the argument is null
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"