com.hazelcast.client.config
Class ClientProperties

java.lang.Object
  extended by com.hazelcast.client.config.ClientProperties

public class ClientProperties
extends Object

Client Properties


Nested Class Summary
static class ClientProperties.ClientProperty
          A single client property.
 
Field Summary
static String PROP_EVENT_QUEUE_CAPACITY
          Capacity of the executor that handles the incoming event packets.
static String PROP_EVENT_QUEUE_CAPACITY_DEFAULT
          Default value of the capacity of the executor that handles the incoming event packets.
static String PROP_EVENT_THREAD_COUNT
          Number of the threads to handle the incoming event packets.
static String PROP_EVENT_THREAD_COUNT_DEFAULT
          Default value of the number of threads to handle the incoming event packets.
static String PROP_HEARTBEAT_INTERVAL
          Time interval between the heartbeats sent by the client to the nodes.
static String PROP_HEARTBEAT_INTERVAL_DEFAULT
          Default value of heartbeat interval unless the user specifies it explicitly.
static String PROP_HEARTBEAT_TIMEOUT
          Client sends heartbeat messages to the members and this is the timeout for this sending operations.
static String PROP_HEARTBEAT_TIMEOUT_DEFAULT
          Default value of the heartbeat timeout unless the user specifies it explicitly.
static String PROP_INVOCATION_TIMEOUT_SECONDS
          Time to give up on invocation when a member in the member list is not reachable.
static String PROP_INVOCATION_TIMEOUT_SECONDS_DEFAULT
          Default value of invocation timeout seconds.
static String PROP_SHUFFLE_INITIAL_MEMBER_LIST_DEFAULT
          Default value of the shuffle member list is true unless the user specifies it explicitly.
static String PROP_SHUFFLE_MEMBER_LIST
          Client shuffles the given member list to prevent all clients to connect to the same node when this property is set to false.
 
Constructor Summary
ClientProperties(ClientConfig clientConfig)
           
 
Method Summary
 ClientProperties.ClientProperty getEventQueueCapacity()
           
 ClientProperties.ClientProperty getEventThreadCount()
           
 ClientProperties.ClientProperty getHeartbeatInterval()
           
 ClientProperties.ClientProperty getHeartbeatTimeout()
           
 ClientProperties.ClientProperty getInvocationTimeoutSeconds()
           
 ClientProperties.ClientProperty getShuffleMemberList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SHUFFLE_MEMBER_LIST

public static final String PROP_SHUFFLE_MEMBER_LIST
Client shuffles the given member list to prevent all clients to connect to the same node when this property is set to false. When it is set to true, the client tries to connect to the nodes in the given order.

See Also:
Constant Field Values

PROP_SHUFFLE_INITIAL_MEMBER_LIST_DEFAULT

public static final String PROP_SHUFFLE_INITIAL_MEMBER_LIST_DEFAULT
Default value of the shuffle member list is true unless the user specifies it explicitly.

See Also:
Constant Field Values

PROP_HEARTBEAT_TIMEOUT

public static final String PROP_HEARTBEAT_TIMEOUT
Client sends heartbeat messages to the members and this is the timeout for this sending operations. If there is not any message passing between the client and member within the given time via this property in milliseconds, the connection will be closed.

See Also:
Constant Field Values

PROP_HEARTBEAT_TIMEOUT_DEFAULT

public static final String PROP_HEARTBEAT_TIMEOUT_DEFAULT
Default value of the heartbeat timeout unless the user specifies it explicitly.

See Also:
Constant Field Values

PROP_HEARTBEAT_INTERVAL

public static final String PROP_HEARTBEAT_INTERVAL
Time interval between the heartbeats sent by the client to the nodes.

See Also:
Constant Field Values

PROP_HEARTBEAT_INTERVAL_DEFAULT

public static final String PROP_HEARTBEAT_INTERVAL_DEFAULT
Default value of heartbeat interval unless the user specifies it explicitly.

See Also:
Constant Field Values

PROP_EVENT_THREAD_COUNT

public static final String PROP_EVENT_THREAD_COUNT
Number of the threads to handle the incoming event packets.

See Also:
Constant Field Values

PROP_EVENT_THREAD_COUNT_DEFAULT

public static final String PROP_EVENT_THREAD_COUNT_DEFAULT
Default value of the number of threads to handle the incoming event packets.

See Also:
Constant Field Values

PROP_EVENT_QUEUE_CAPACITY

public static final String PROP_EVENT_QUEUE_CAPACITY
Capacity of the executor that handles the incoming event packets.

See Also:
Constant Field Values

PROP_EVENT_QUEUE_CAPACITY_DEFAULT

public static final String PROP_EVENT_QUEUE_CAPACITY_DEFAULT
Default value of the capacity of the executor that handles the incoming event packets.

See Also:
Constant Field Values

PROP_INVOCATION_TIMEOUT_SECONDS

public static final String PROP_INVOCATION_TIMEOUT_SECONDS
Time to give up on invocation when a member in the member list is not reachable.

See Also:
Constant Field Values

PROP_INVOCATION_TIMEOUT_SECONDS_DEFAULT

public static final String PROP_INVOCATION_TIMEOUT_SECONDS_DEFAULT
Default value of invocation timeout seconds.

See Also:
Constant Field Values
Constructor Detail

ClientProperties

public ClientProperties(ClientConfig clientConfig)
Method Detail

getHeartbeatTimeout

public ClientProperties.ClientProperty getHeartbeatTimeout()

getHeartbeatInterval

public ClientProperties.ClientProperty getHeartbeatInterval()

getEventQueueCapacity

public ClientProperties.ClientProperty getEventQueueCapacity()

getEventThreadCount

public ClientProperties.ClientProperty getEventThreadCount()

getInvocationTimeoutSeconds

public ClientProperties.ClientProperty getInvocationTimeoutSeconds()

getShuffleMemberList

public ClientProperties.ClientProperty getShuffleMemberList()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.