public final class CacheEnvironment extends Object
Modifier and Type | Field and Description |
---|---|
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 |
EXPLICIT_VERSION_CHECK
Property to configure explicitly checks the CacheEntry's version while updating RegionCache.
|
static String |
HAZELCAST_INSTANCE_NAME
Property to configure the Hazelcast instance internal name
|
static String |
LOCK_TIMEOUT
Property to configure the timeout delay before a lock eventually times out
|
static String |
NATIVE_CLIENT_ADDRESS
Property to configure the address for the Hazelcast client to connect to
|
static String |
NATIVE_CLIENT_GROUP
Property to configure Hazelcast client group name
|
static String |
NATIVE_CLIENT_PASSWORD
Property to configure Hazelcast client group password
|
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 String |
getConfigFilePath(Properties props) |
static int |
getDefaultCacheTimeoutInMillis() |
static String |
getInstanceName(Properties props) |
static int |
getLockTimeoutInMillis(Properties props) |
static boolean |
isExplicitVersionCheckEnabled(Properties props) |
static boolean |
isNativeClient(Properties props) |
static boolean |
shutdownOnStop(Properties props,
boolean defaultValue) |
public static final String EXPLICIT_VERSION_CHECK
@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_GROUP
public static final String NATIVE_CLIENT_PASSWORD
public static final String SHUTDOWN_ON_STOP
public static final String LOCK_TIMEOUT
public static final String HAZELCAST_INSTANCE_NAME
public static String getConfigFilePath(Properties props)
public static String getInstanceName(Properties props)
public static boolean isNativeClient(Properties props)
public static int getDefaultCacheTimeoutInMillis()
public static int getLockTimeoutInMillis(Properties props)
public static boolean shutdownOnStop(Properties props, boolean defaultValue)
public static boolean isExplicitVersionCheckEnabled(Properties props)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.