@PrivateApi public enum ClientProperty extends Enum<ClientProperty> implements HazelcastProperty
Type | Property and Description |
---|---|
String |
clearSystem
Clears the environmental value of the property.
|
Enum Constant and Description |
---|
EVENT_QUEUE_CAPACITY
Capacity of the executor that handles the incoming event packets.
|
EVENT_THREAD_COUNT
Number of the threads to handle the incoming event packets.
|
HEARTBEAT_INTERVAL
Time interval between the heartbeats sent by the client to the nodes.
|
HEARTBEAT_TIMEOUT
Client sends heartbeat messages to the members and this is the timeout for this sending operations.
|
INVOCATION_TIMEOUT_SECONDS
Time to give up on invocation when a member in the member list is not reachable.
|
MAX_CONCURRENT_INVOCATIONS
The maximum number of concurrent invocations allowed.
|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
clearSystemProperty()
Clears the environmental value of the property.
|
String |
getDefaultValue()
Returns the default value of the property.
|
int |
getIndex()
Gets the index of the property.
|
String |
getName()
Returns the property name.
|
GroupProperty |
getParent()
Returns the parent
GroupProperty of the property. |
String |
getSystemProperty()
Gets the environmental value of the property.
|
TimeUnit |
getTimeUnit()
Returns the
TimeUnit of the property. |
void |
setSystemProperty(String value)
Sets the environmental value of the property.
|
String |
toString() |
static ClientProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientProperty SHUFFLE_MEMBER_LIST
public static final ClientProperty HEARTBEAT_TIMEOUT
public static final ClientProperty HEARTBEAT_INTERVAL
public static final ClientProperty EVENT_THREAD_COUNT
public static final ClientProperty EVENT_QUEUE_CAPACITY
public static final ClientProperty INVOCATION_TIMEOUT_SECONDS
public static final ClientProperty MAX_CONCURRENT_INVOCATIONS
clearSystemProperty
in interface HazelcastProperty
public static ClientProperty[] values()
for (ClientProperty c : ClientProperty.values()) System.out.println(c);
public static ClientProperty valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getIndex()
HazelcastProperty
getIndex
in interface HazelcastProperty
public String getName()
HazelcastProperty
getName
in interface HazelcastProperty
public String getDefaultValue()
HazelcastProperty
getDefaultValue
in interface HazelcastProperty
public TimeUnit getTimeUnit()
HazelcastProperty
TimeUnit
of the property.getTimeUnit
in interface HazelcastProperty
TimeUnit
public GroupProperty getParent()
HazelcastProperty
GroupProperty
of the property.getParent
in interface HazelcastProperty
GroupProperty
or null if none is definedpublic void setSystemProperty(String value)
HazelcastProperty
setSystemProperty
in interface HazelcastProperty
value
- the value to setpublic String getSystemProperty()
HazelcastProperty
getSystemProperty
in interface HazelcastProperty
public String clearSystemProperty()
HazelcastProperty
clearSystemProperty
in interface HazelcastProperty
public String toString()
toString
in class Enum<ClientProperty>
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.