Method GetCacheClients
GetCacheClients(String)
Get information about all clients connected to the specified cache.
Declaration
public static Dictionary<CacheManagement.ServerNode, List<CacheManagement.CacheClient>> GetCacheClients(string cacheName)
Parameters
Type | Name | Description |
---|---|---|
System.String | cacheName | Name of the cache |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<Alachisoft.NCache.Runtime.CacheManagement.ServerNode, System.Collections.Generic.List<Alachisoft.NCache.Runtime.CacheManagement.CacheClient>> | Dictionary of ServerNode and CacheClient with detailed information of all client connected to each server node of the cache. |
GetCacheClients(String, String)
Get information about all clients connected to the specified cache with specified node connected.
Declaration
public static Dictionary<CacheManagement.ServerNode, List<CacheManagement.CacheClient>> GetCacheClients(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 |
---|---|
System.Collections.Generic.Dictionary<Alachisoft.NCache.Runtime.CacheManagement.ServerNode, System.Collections.Generic.List<Alachisoft.NCache.Runtime.CacheManagement.CacheClient>> | Dictionary of ServerNode and CacheClient with detailed information of all client connected to each server node of the cache. |
GetCacheClients(String, String, Int32)
Get information about all clients connected to the specified cache of specified context, with specified node connected.
Declaration
public static Dictionary<CacheManagement.ServerNode, List<CacheManagement.CacheClient>> GetCacheClients(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 |
---|---|
System.Collections.Generic.Dictionary<Alachisoft.NCache.Runtime.CacheManagement.ServerNode, System.Collections.Generic.List<Alachisoft.NCache.Runtime.CacheManagement.CacheClient>> | Dictionary of ServerNode and CacheClient with detailed information of all client connected to each server node of the cache. |