Method GetCacheHealth
GetCacheHealth(String)
Get health Information of the specified cache.
Declaration
public static CacheManagement.CacheHealth GetCacheHealth(string cacheName)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName | Name of the cache |
Returns
Type | Description |
---|---|
Alachisoft.NCache.Runtime.CacheManagement.CacheHealth | Instance of the |
GetCacheHealth(String, String)
Get health Information of the specified cache with specified node connected.
Declaration
public static CacheManagement.CacheHealth GetCacheHealth(string cacheName, string initialNodeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName | Name of the cache |
System.String | initialNodeName | Name of any server node the specified cache, from which the cache information will be collected |
Returns
Type | Description |
---|---|
Alachisoft.NCache.Runtime.CacheManagement.CacheHealth | Instance of the |
GetCacheHealth(String, String, Int32)
Get health Information of the specified cache of specified context, with specified node connected.
Declaration
public static CacheManagement.CacheHealth GetCacheHealth(string cacheName, string initialNodeName, int port)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName | Name of the cache |
System.String | initialNodeName | Name of any server node the specified cache, from which the cache information will be collected |
System.Int32 | port | Port where cache service will listen |
Returns
Type | Description |
---|---|
Alachisoft.NCache.Runtime.CacheManagement.CacheHealth | Instance of the |