Class CacheHealth
- java.lang.Object
-
- com.alachisoft.ncache.runtime.cachemanagement.CacheHealth
-
public class CacheHealth extends java.lang.ObjectThe Alachisoft.NCache.Web.Management namespace provides classes for management operations on cache. This includes the CacheHealth class, used to store cache health information.
-
-
Constructor Summary
Constructors Constructor Description CacheHealth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCacheName()Gets the name of the cache.NodeStatus[]getServerNodesStatus()Gets the array of NodeStatus that contains information of all connected server nodes.CacheStatusgetStatus()Gets the CacheStatus enum that tells whether the cache is running or not.CacheTopologygetTopology()Gets the topology of the cache.voidsetCacheName(java.lang.String value)Sets the name of the cache.voidsetServerNodesStatus(NodeStatus[] value)Sets the array of NodeStatus that contains information of all connected server nodes.voidsetStatus(CacheStatus value)Sets the CacheStatus enum that tells whether the cache is running or not.voidsetTopology(CacheTopology value)Sets the topology of the cache.
-
-
-
Method Detail
-
getCacheName
public final java.lang.String getCacheName()
Gets the name of the cache.- Returns:
- The name of the cache.
-
setCacheName
public final void setCacheName(java.lang.String value)
Sets the name of the cache.- Parameters:
value- The name of the cache.
-
getTopology
public final CacheTopology getTopology()
Gets the topology of the cache.- Returns:
- The topology of the cache.
-
setTopology
public final void setTopology(CacheTopology value)
Sets the topology of the cache.- Parameters:
value- The topology of the cache.
-
getStatus
public final CacheStatus getStatus()
Gets the CacheStatus enum that tells whether the cache is running or not.- Returns:
- The CacheStatus enum.
-
setStatus
public final void setStatus(CacheStatus value)
Sets the CacheStatus enum that tells whether the cache is running or not.- Parameters:
value- The CacheStatus enum.
-
getServerNodesStatus
public final NodeStatus[] getServerNodesStatus()
Gets the array of NodeStatus that contains information of all connected server nodes.- Returns:
- The NodeStatus array.
-
setServerNodesStatus
public final void setServerNodesStatus(NodeStatus[] value)
Sets the array of NodeStatus that contains information of all connected server nodes.- Parameters:
value- The NodeStatus array.
-
-