Class CacheInitParams
Inheritance
System.Object
CacheInitParams
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
public class CacheInitParams : ICloneable
AppName
Declaration
public string AppName { get; set; }
Property Value
Type |
Description |
System.String |
|
BindIP
Gets/Sets the IP for the client to be binded with
Declaration
public string BindIP { get; set; }
Property Value
Type |
Description |
System.String |
|
ClientCacheSyncMode
Gets/Sets Enumeration to specify how the Client cache is synchronized with the cluster caches through events.
Declaration
public ClientCacheSyncMode ClientCacheSyncMode { get; set; }
Property Value
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.
Declaration
public int ClientRequestTimeOut { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
CommandRetries
Declaration
public int CommandRetries { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
CommandRetryInterval
Declaration
public int CommandRetryInterval { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ConnectionRetries
Number of tries to re-establish a broken connection between client and server.
Declaration
public int ConnectionRetries { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ConnectionTimeout
Client's connection timeout specified in seconds.
Declaration
public int ConnectionTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
DefaultReadThruProvider
Gets/Sets ID of DefaultReadThruProvider
Declaration
public string DefaultReadThruProvider { get; set; }
Property Value
Type |
Description |
System.String |
|
DefaultWriteThruProvider
Gets/Sets ID of DefaultWriteThruProvider
Declaration
public string DefaultWriteThruProvider { get; set; }
Property Value
Type |
Description |
System.String |
|
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.
Declaration
public bool LoadBalance { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Mode
Gets/Sets the cache mode (inproc/outproc)
Declaration
public CacheMode Mode { get; set; }
Property Value
Port
Gets/Sets the port on which the clients will connect to a server.
Declaration
[Obsolete("This property is deprecated. Please use the 'ServerList' property instead.", false)]
public int Port { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
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.
Declaration
public SecurityParams PrimaryUserCredentials { get; set; }
Property Value
Type |
Description |
Alachisoft.NCache.Web.Security.SecurityParams |
|
RetryConnectionDelay
The time after which client will try to reconnect to the server.
Declaration
public int RetryConnectionDelay { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
RetryInterval
Time in seconds to wait between two connection retries.
Declaration
public int RetryInterval { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
SecondaryUserCredentials
Gets/Sets the user-id and password for the secondary cache user.
This information is required when the security is enabled.
Declaration
public SecurityParams SecondaryUserCredentials { get; set; }
Property Value
Type |
Description |
Alachisoft.NCache.Web.Security.SecurityParams |
|
Server
Gets/Sets the server clients will connect to.
Declaration
[Obsolete("This property is deprecated. Please use the 'ServerList' property instead.", false)]
public string Server { get; set; }
Property Value
Type |
Description |
System.String |
|
ServerList
Gets/Sets List of servers provided by the user
Declaration
public CacheServerInfo[] ServerList { get; set; }
Property Value
Clone()
Creates Clone for deep copy of the initParam
Declaration
Returns
Type |
Description |
System.Object |
|