ClientNetworkConfig Methods |
The ClientNetworkConfig type exposes the following members.
Name | Description | |
---|---|---|
AddAddress |
Adds given addresses to the list of candidate addresses that client will use to establish initial connection.
| |
Equals | (Inherited from Object.) | |
GetAddresses |
Returns the list of candidate addresses that client will use to establish initial connection
| |
GetConnectionAttemptLimit |
While client is trying to connect initially to one of the members in the configured address list,
all might be not available. Instead of giving up, throwing Exception and stopping client, it will
attempt to retry as much as connection attempt limit times.
| |
GetConnectionAttemptPeriod |
Gets the connection attempt period, in millis, for the next attempt to find a member to connect.
| |
GetConnectionTimeout |
Gets connection timeout.
| |
GetHashCode | (Inherited from Object.) | |
GetSocketInterceptorConfig |
Gets SocketInterceptorConfig.
| |
GetSocketOptions |
Gets SocketOptions.
| |
GetSSLConfig |
Gets SSLConfig.
| |
GetType | (Inherited from Object.) | |
IsRedoOperation |
Specifies whether the redo operations are enabled or not.
| |
IsSmartRouting |
Specifies whether the client is smart or not.
| |
SetAddresses |
Sets all addresses
| |
SetConnectionAttemptLimit |
While client is trying to connect initially to one of the members in the configured address list,
all might be not available. Instead of giving up, throwing Exception and stopping client, it will
attempt to retry as much as connection attempt limit times.
| |
SetConnectionAttemptPeriod |
Sets the connection attempt period, in millis, for the next attempt to find a member to connect..
| |
SetConnectionTimeout |
Sets connection timeout
| |
SetRedoOperation |
If true, client will redo the operations that were executing on the server and client lost the connection.
This can be because of network, or simply because the member died. However it is not clear whether the
application is performed or not. For idempotent operations this is harmless, but for non-idempotent ones
retrying can cause to undesirable effects. Note that the redo can perform on any member.
If false, the operation will throw exception
| |
SetSmartRouting |
If true, client will route the key based operations to owner of the key at the best effort.
| |
SetSocketInterceptorConfig | ||
SetSocketOptions |
Sets SocketOptions | |
SetSSLConfig |
Sets SSLConfig | |
ToString | (Inherited from Object.) |