|
eXo Kernel :: Component :: Common Service 2.4.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.rpc.TopologyChangeEvent
public class TopologyChangeEvent
The event triggered anytime the cluster has changed of topology
| Constructor Summary | |
|---|---|
TopologyChangeEvent(boolean coordinatorHasChanged,
boolean coordinator)
Default constructor |
|
| Method Summary | |
|---|---|
boolean |
isCoordinator()
Indicates whether the current node is the coordinator or not after the topology change |
boolean |
isCoordinatorHasChanged()
Indicates whether the coordinator has changed after the topology change |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TopologyChangeEvent(boolean coordinatorHasChanged,
boolean coordinator)
coordinatorHasChanged - this parameter is set to true if the
coordinator has changed, false otherwisecoordinator - this parameter is set to true if the current node
is the coordinator, false otherwise| Method Detail |
|---|
public boolean isCoordinator()
true if the current node is the coordinator, false otherwise.public boolean isCoordinatorHasChanged()
true if the coordinator has changed, false otherwise.
|
eXo Kernel :: Component :: Common Service 2.4.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||