public interface ClusterCommPoller
| Modifier and Type | Method and Description |
|---|---|
java.net.URI[] |
getServerCommService()
Gets the URIs of the cluster service of the server for inter node
communication.
|
void |
pollServerComm(long timeout,
boolean serverDoubtful)
Polls the server of this cluster via communication.
|
java.net.URI[] getServerCommService()
null if no global registry URIs are
set.void pollServerComm(long timeout,
boolean serverDoubtful)
throws java.lang.InterruptedException
If the control of the cluster node cannot be acquired in the designated time, this method will do nothing.
timeout - The time in milliseconds to wait for the cluster control
lock.serverDoubtful - Whether the server is doubtful and should be notified
appropriately.java.lang.InterruptedException - If the calling thread is interrupted while
waiting for the node control or has been interrupted before, an
InterruptedException will be thrown.