| Modifier and Type | Field and Description |
|---|---|
| public static final CacheCluster | INSTANCE
A singleton instance you can use rather than constructing your own. |
| Access | Constructor and Description |
|---|---|
| public |
| INSTANCE | back to summary |
|---|---|
| public static final CacheCluster INSTANCE A singleton instance you can use rather than constructing your own. | |
| NoopCacheCluster | back to summary |
|---|---|
| public NoopCacheCluster() | |
| addTopologyListener | back to summary |
|---|---|
| public boolean addTopologyListener(ClusterTopologyListener listener) Implements net. Doc from net. Add a listener for cluster events
| |
| getCurrentNode | back to summary |
|---|---|
| public ClusterNode getCurrentNode() Implements net. Doc from net. Retrieves the
| |
| getNodes | back to summary |
|---|---|
| public Collection Implements net. Doc from net. Get all the nodes in the cluster
| |
| getScheme | back to summary |
|---|---|
| public ClusterScheme getScheme() Implements net. Always returns the ClusterScheme.NONE
| |
| getTopologyListeners | back to summary |
|---|---|
| public List Implements net. Doc from net. Get all the topology listeners
| |
| isClusterOnline | back to summary |
|---|---|
| public boolean isClusterOnline() Implements net. Doc from net. Find out if the current node is connected to the cluster or not
| |
| removeAllListeners | back to summary |
|---|---|
| public void removeAllListeners() Implements net. Doc from net. Removes all listeners for cluster events
| |
| removeTopologyListener | back to summary |
|---|---|
| public boolean removeTopologyListener(ClusterTopologyListener listener) Implements net. Doc from net. Remove a listener for cluster events
| |
| waitUntilNodeJoinsCluster | back to summary |
|---|---|
| public ClusterNode waitUntilNodeJoinsCluster() Implements net. Doc from net. Waits until the current node has successfully joined the cluster.
| |