Class CacheHealth


  • public class CacheHealth
    extends java.lang.Object
    The Alachisoft.NCache.Web.Management namespace provides classes for management operations on cache This includes the CacheHealth class, used to store cache health information.
    • Constructor Detail

      • CacheHealth

        public CacheHealth()
    • 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.