ClientPolicy MembersAerospike

The ClientPolicy type exposes the following members.
Constructors

  NameDescription
Public methodClientPolicy
Initializes a new instance of the ClientPolicy class
Back to Top
Fields

  NameDescription
Public fieldfailIfNotConnected
Throw exception if host connection fails during addHost().
Public fieldipMap
A IP translation table is used in cases where different clients use different server IP addresses. This may be necessary when using clients from both inside and outside a local area network. Default is no translation. The key is the IP address returned from friend info requests to other servers. The value is the real IP address used to connect to the server.
Public fieldmaxSocketIdle
Maximum socket idle in seconds. Socket connection pools will discard sockets that have been idle longer than the maximum.
Public fieldmaxThreads
Estimate of incoming threads concurrently using synchronous methods in the client instance. This field is used to size the synchronous connection pool for each server node.
Public fieldtimeout
Initial host connection timeout in milliseconds. The timeout when opening a connection to the server host for the first time.
Back to Top
See Also