public final class CacheEnvironment extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BACKOFF_MULTIPLIER
Property to configure the IMDG cluster connection backoff multiplier
|
static String |
CLEANUP_DELAY
Property to configure the fixed delay in seconds between scheduled cache cleanup jobs
|
static String |
CLUSTER_TIMEOUT
Property to configure the IMDG cluster connection timeout
|
static String |
CONFIG_FILE_PATH
Property to configure the path of the hazelcast.xml or hazelcast-client.xml configuration files
|
static String |
CONFIG_FILE_PATH_LEGACY
Deprecated.
|
static String |
HAZELCAST_FACTORY
Property to configure which
IHazelcastInstanceFactory
that shall be used for creating
hazelcast instance loaders. |
static String |
HAZELCAST_INSTANCE_NAME
Property to configure the Hazelcast instance internal name
|
static String |
HAZELCAST_OPERATION_TIMEOUT
Property to configure the Hazelcast operation timeout
|
static String |
HAZELCAST_SHUTDOWN_HOOK_ENABLED
Property to configure Hazelcast Shutdown Hook
|
static String |
INITIAL_BACKOFF_MS
Property to configure the IMDG cluster connection initial backoff
|
static String |
LOCK_TIMEOUT
Property to configure the timeout delay before a lock eventually times out
|
static String |
MAX_BACKOFF_MS
Property to configure the IMDG cluster connection max backoff
|
static String |
NATIVE_CLIENT_ADDRESS
Property to configure the address for the Hazelcast client to connect to
|
static String |
NATIVE_CLIENT_CLUSTER_NAME
Property to configure Hazelcast client cluster name
|
static String |
NATIVE_CLIENT_INSTANCE_NAME
Property to configure Hazelcast client instance name
|
static String |
SHUTDOWN_ON_STOP
Property to configure if the HazelcastInstance should going to shutdown when the RegionFactory is being stopped
|
static String |
USE_NATIVE_CLIENT
Property to configure weather a Hazelcast client or node will be used for connection to the cluster
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getBackoffMultiplier(Properties props) |
static Duration |
getCacheCleanup(Properties props) |
static Duration |
getClusterTimeout(Properties props) |
static String |
getConfigFilePath(Properties props) |
static int |
getDefaultCacheTimeoutInMillis() |
static Duration |
getInitialBackoff(Properties props) |
static String |
getInstanceName(Properties props) |
static int |
getLockTimeoutInMillis(Properties props) |
static Duration |
getMaxBackoff(Properties props) |
static boolean |
isNativeClient(Properties props) |
static boolean |
shutdownOnStop(Properties props,
boolean defaultValue) |
@Deprecated public static final String CONFIG_FILE_PATH_LEGACY
public static final String CONFIG_FILE_PATH
public static final String USE_NATIVE_CLIENT
public static final String NATIVE_CLIENT_ADDRESS
public static final String NATIVE_CLIENT_CLUSTER_NAME
public static final String NATIVE_CLIENT_INSTANCE_NAME
public static final String SHUTDOWN_ON_STOP
public static final String CLUSTER_TIMEOUT
public static final String INITIAL_BACKOFF_MS
public static final String MAX_BACKOFF_MS
public static final String BACKOFF_MULTIPLIER
public static final String LOCK_TIMEOUT
public static final String CLEANUP_DELAY
public static final String HAZELCAST_INSTANCE_NAME
public static final String HAZELCAST_OPERATION_TIMEOUT
public static final String HAZELCAST_SHUTDOWN_HOOK_ENABLED
public static final String HAZELCAST_FACTORY
IHazelcastInstanceFactory
that shall be used for creating
hazelcast instance loaders.public static String getConfigFilePath(Properties props)
public static String getInstanceName(Properties props)
public static boolean isNativeClient(Properties props)
public static int getDefaultCacheTimeoutInMillis()
public static Duration getCacheCleanup(Properties props)
public static int getLockTimeoutInMillis(Properties props)
public static boolean shutdownOnStop(Properties props, boolean defaultValue)
public static Duration getInitialBackoff(Properties props)
public static Duration getMaxBackoff(Properties props)
public static double getBackoffMultiplier(Properties props)
public static Duration getClusterTimeout(Properties props)
Copyright © 2020. All rights reserved.