@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 |
|---|
DISCOVERY_SPI_ENABLED
Enables the Discovery SPI lookup over the old native implementations.
|
DISCOVERY_SPI_PUBLIC_IP_ENABLED
Enables the Discovery Joiner to use public ips from DiscoveredNode.
|
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.
|
INTERNAL_EXECUTOR_POOL_SIZE
Configures pool size of internal client executor.
|
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
public static final ClientProperty DISCOVERY_SPI_ENABLED
Enables the Discovery SPI lookup over the old native implementations. This property is temporary and will eventually be removed when the experimental marker is removed.
Discovery SPI is disabled by default
public static final ClientProperty DISCOVERY_SPI_PUBLIC_IP_ENABLED
Enables the Discovery Joiner to use public ips from DiscoveredNode. This property is temporary and will eventually be removed when the experimental marker is removed.
Discovery SPI is disabled by default
public static final ClientProperty INTERNAL_EXECUTOR_POOL_SIZE
clearSystemProperty in interface HazelcastPropertypublic 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()
HazelcastPropertygetIndex in interface HazelcastPropertypublic String getName()
HazelcastPropertygetName in interface HazelcastPropertypublic String getDefaultValue()
HazelcastPropertygetDefaultValue in interface HazelcastPropertypublic TimeUnit getTimeUnit()
HazelcastPropertyTimeUnit of the property.getTimeUnit in interface HazelcastPropertyTimeUnitpublic GroupProperty getParent()
HazelcastPropertyGroupProperty of the property.getParent in interface HazelcastPropertyGroupProperty or null if none is definedpublic void setSystemProperty(String value)
HazelcastPropertysetSystemProperty in interface HazelcastPropertyvalue - the value to setpublic String getSystemProperty()
HazelcastPropertygetSystemProperty in interface HazelcastPropertypublic String clearSystemProperty()
HazelcastPropertyclearSystemProperty in interface HazelcastPropertypublic String toString()
toString in class Enum<ClientProperty>Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.