public interface ClusterViewEventListener extends EventListener
The following example illustrates how to implement a ClusterViewEventListener:
ClusterViewEventListener myListener = new ClusterViewEventListener() {
public void clusterViewEvent(int event, , SystemAdvertisement advertisement) {
if (event == ClusterViewManager.ADD_EVENT) {
.....
}
}
}
| Modifier and Type | Method and Description |
|---|---|
void |
clusterViewEvent(ClusterViewEvent event,
ClusterView clusterView)
Called when a cluster view event occurs.
|
void clusterViewEvent(ClusterViewEvent event, ClusterView clusterView)
event - The event that occurred.clusterView - the current membership snapshot after the event.Copyright © 2017–2020 Eclipse Foundation. All rights reserved.