Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.cluster |
This package contains the API for accessing the cluster node topology and registering to receive events about changes in the cluster node topology.
|
net.sf.ehcache.terracotta |
This package contains the Terracotta integration functionalities.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheClusterStateStatisticsListener.clusterOffline(ClusterNode node) |
void |
CacheClusterStateStatisticsListener.clusterOnline(ClusterNode node) |
void |
CacheClusterStateStatisticsListener.clusterRejoined(ClusterNode oldNode,
ClusterNode newNode) |
void |
CacheClusterStateStatisticsListener.nodeJoined(ClusterNode node) |
void |
CacheClusterStateStatisticsListener.nodeLeft(ClusterNode node) |
Modifier and Type | Method and Description |
---|---|
ClusterNode |
NoopCacheCluster.getCurrentNode()
Retrieves the
ClusterNode instance that corresponds to the current node. |
ClusterNode |
CacheCluster.getCurrentNode()
Retrieves the
ClusterNode instance that corresponds to the current node. |
ClusterNode |
NoopCacheCluster.waitUntilNodeJoinsCluster()
Waits until the current node has successfully joined the cluster.
|
ClusterNode |
CacheCluster.waitUntilNodeJoinsCluster()
Waits until the current node has successfully joined the cluster.
|
Modifier and Type | Method and Description |
---|---|
Collection<ClusterNode> |
NoopCacheCluster.getNodes()
Get all the nodes in the cluster
|
Collection<ClusterNode> |
CacheCluster.getNodes()
Get all the nodes in the cluster
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterTopologyListener.clusterOffline(ClusterNode node)
This node has lost contact (possibly temporarily) with the cluster and cannot execute
clustered operations
|
void |
ClusterTopologyListener.clusterOnline(ClusterNode node)
This node has established contact with the cluster and can execute clustered operations.
|
void |
ClusterTopologyListener.clusterRejoined(ClusterNode oldNode,
ClusterNode newNode)
This node lost contact and rejoined the cluster again.
|
void |
ClusterTopologyListener.nodeJoined(ClusterNode node)
A node has joined the cluster
|
void |
ClusterTopologyListener.nodeLeft(ClusterNode node)
A node has left the cluster
|
Modifier and Type | Class and Description |
---|---|
class |
DisconnectedClusterNode
ClusterNode which copies a disconnected ClusterNode without keeping any reference to the original one.
|
Modifier and Type | Method and Description |
---|---|
ClusterNode |
TerracottaCacheCluster.getCurrentNode()
Retrieves the
ClusterNode instance that corresponds to the current node. |
ClusterNode |
TerracottaCacheCluster.waitUntilNodeJoinsCluster()
Waits until the current node has successfully joined the cluster.
|
Modifier and Type | Method and Description |
---|---|
Collection<ClusterNode> |
TerracottaCacheCluster.getNodes()
Get all the nodes in the cluster
|
Constructor and Description |
---|
DisconnectedClusterNode(ClusterNode node)
Constructor accepting the disconnected node
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.