The CacheSyncDependency type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CacheSyncDependency(String, String) |
Initializes a new instance of the CacheSyncDependency with the
specified parameters. Internally it tries to initialize the remote cache.
If the cache can not be initialized, it throws the exception describing the cause of
failure. The remote cache must be running as outproc even if it is on the same machine.
The information to connect to the remote cache instance (like server-name and server-port)
are picked from the 'client.ncconf'.
| |
CacheSyncDependency(String, String, String, Int32) |
Initializes a new instance of the CacheSyncDependency with the
specified parameters. Internally it tries to initialize the remote cache.
If the cache can not be initialized, it throws the exception describing the cause of
failure. The remote cache must be running as outproc even if it is on the same machine.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CacheId |
The unique Id of the remote cache
| |
Key |
The key of the item in the remote cache with which the local
cache item needs to be synchronized.
| |
Port |
The server port that is used by the clients to connect to
the server.
| |
Server |
The name of the server where the remote cache is running.
|