final class ClusterListenerMulticaster extends java.lang.Object implements ClusterListener
Modifier and Type | Field and Description |
---|---|
private java.util.List<ClusterListener> |
clusterListeners |
private static Logger |
LOGGER |
Constructor and Description |
---|
ClusterListenerMulticaster(java.util.List<ClusterListener> clusterListeners) |
Modifier and Type | Method and Description |
---|---|
void |
clusterClosed(ClusterClosedEvent event)
Invoked when a cluster is closed.
|
void |
clusterDescriptionChanged(ClusterDescriptionChangedEvent event)
Invoked when a cluster description changes.
|
void |
clusterOpening(ClusterOpeningEvent event)
Invoked when a cluster is opened.
|
private static final Logger LOGGER
private final java.util.List<ClusterListener> clusterListeners
ClusterListenerMulticaster(java.util.List<ClusterListener> clusterListeners)
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