|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.hibernate.CacheEnvironment
public final class CacheEnvironment
This class is used to help in setup the internal caches. It searches for configuration files and contains all property names for hibernate based configuration properties.
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |