Class CacheManager
Provides and manages the instance of ICache.
Inheritance
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) | Gets information of clients connected to each server node in a cache. |
GetCacheHealth(String, CacheConnection) | Gets Health status of a cache. |
StartCache(String, CacheConnection) | Starts an OutProc cache. The end result is the same as that of starting the cache using the NCache Manager. It starts the cache on the specified cache server. If the Cache Server could not be contacted then it throws a ManagementException. It tries to get the Security Parameters from the client.ncconf. |
StopCache(String, CacheConnection, Boolean) | Stops an OutProc cache. The end result is the same as that of stopping the cache using the 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. It tries to get the Security Parameters from the client.ncconf. |