ClusterListener
, EventListener
@Deprecated @Immutable public final class ClusterEventMulticaster extends Object implements ClusterListener
Constructor | Description |
---|---|
ClusterEventMulticaster(List<ClusterListener> clusterListeners) |
Deprecated.
Construct an instance with the given list of cluster listeners
|
Modifier and Type | Method | Description |
---|---|---|
void |
clusterClosed(ClusterClosedEvent event) |
Deprecated.
Invoked when a cluster is closed.
|
void |
clusterDescriptionChanged(ClusterDescriptionChangedEvent event) |
Deprecated.
Invoked when a cluster description changes.
|
void |
clusterOpening(ClusterOpeningEvent event) |
Deprecated.
Invoked when a cluster is opened.
|
List<ClusterListener> |
getClusterListeners() |
Deprecated.
Gets the cluster listeners.
|
public ClusterEventMulticaster(List<ClusterListener> clusterListeners)
clusterListeners
- the non-null list of cluster listeners, none of which may be nullpublic List<ClusterListener> getClusterListeners()
public void clusterOpening(ClusterOpeningEvent event)
ClusterListener
clusterOpening
in interface ClusterListener
event
- the eventpublic void clusterClosed(ClusterClosedEvent event)
ClusterListener
clusterClosed
in interface ClusterListener
event
- the eventpublic void clusterDescriptionChanged(ClusterDescriptionChangedEvent event)
ClusterListener
clusterDescriptionChanged
in interface ClusterListener
event
- the event