Class CacheManager
Provides and manages the instance of ICache
Inheritance
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public sealed class CacheManager
Properties
Name | Description |
---|---|
Caches | Returns CacheCollection of the caches initialized within the same application domain. |
Methods
Name | Description |
---|---|
GetCache(String, CacheConnectionOptions, String, CacheConnectionOptions) | Returns an instance of ICache for this application. |
GetCacheClients(String, CacheConnection) | Get information of clients connected to each server node in a cache. |
GetCacheHealth(String, CacheConnection) | Get Health status of a cache. |
StartCache(String, CacheConnection) | Starts an out-proc cache. The end result is the same as that of starting the cache using NCache Manager. It starts the cache on the specified cache server. If the Cache Server could not be contacted then it throws a ManagementException exception. It tries to get the Security Parameters from the Client.ncconf. |
StopCache(String, CacheConnection, Boolean) | Stops an out-proc cache. The end result is the same as that of stoping the cache using NCache Manager. It stops the cache only on the same server where the client application is running. If the Cache Server could not be contacted then it throws a ManagementException exception. It tries to get the Security Parameters from the Client.ncconf. |