The CacheInitParams type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CacheInitParams | Initializes a new instance of the CacheInitParams class |
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 | |
---|---|---|
ClientCacheSyncMode |
Gets/Sets Enumeration to specify how the Client cache is synchronized with the cluster caches through events.
| |
ClientRequestTimeOut |
Clients operation timeout specified in seconds.
Clients wait for the response from the server for this time.
If the response is not received within this time, the operation is not successful.
Based on the network conditions, OperationTimeout value can be adjusted.
The default value is 90 seconds.
| |
ConnectionRetries |
Number of tries to re-establish a broken connection between client and server.
| |
ConnectionTimeout |
Client's connection timeout specified in seconds.
| |
LoadBalance |
When this flag is set, client tries to connect to the optimum server in terms of number of connected clients.
This way almost equal number of clients are connected to every node in the clustered cache and no single node
is overburdened.
| |
Mode |
Gets/Sets the cache mode (inproc/outproc)
| |
Port |
Gets/Sets the port on which the clients will connect to a server.
| |
PrimaryUserCredentials |
Gets/Sets the user-id and password for the primary cache user.
This information is required when the security is enabled.
If primary user's authentication fails, SecondaryUserCredentials are tried.
| |
RetryConnectionDelay |
The time after which client will try to reconnect to the server.
| |
RetryInterval |
Time in seconds to wait between two connection retries.
| |
SecondaryUserCredentials |
Gets/Sets the user-id and password for the secondary cache user.
This information is required when the security is enabled.
| |
Server |
Gets/Sets the server clients will connect to.
|