public class CacheManagerRegistrar extends Object
CacheManager
with the Pico container.Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_DEFERRED_CACHE_REPLICATION
If set to true deferred replication of remote cache will be disabled.
|
static String |
EHCACHE_CONFIGURATION
The name of the system property which if set provides the URL of the
Ehcache XML configuration file (overriding the built-in ehcache.xml
file).
|
static String |
ENABLE_EHCACHE_STATISTICS
The name of the system property which if set to "true" enables the use of ehcache statistics by default.
|
static String |
ENABLE_JMX
The name of the system property which if set to "true" enables JMX
monitoring of atlassian-cache (which MBeans are available depends upon
the atlassian-cache implementation).
|
static String |
ENABLE_SERIALIZATION_CHECK
If set to true, every value stored in the cache will be checked for serializability.
|
static String |
ENABLE_SLOMO
Decorates every single cache such that every operation (whether get or remove) takes
at least the specified number of milliseconds.
|
static String |
ENABLE_STATISTICS
The name of the system property which if set to "true" enables the use of memory-cache statistics by default.
|
static String |
FORCE_EHCACHE
The name of the system property which if set to "true" forces the use of
Ehcache.
|
static String |
SERIALIZATION_RECORDING_FILE
If set, non-simple keys from all caches and values from fully-replicated caches are recorded to this file.
|
Constructor and Description |
---|
CacheManagerRegistrar() |
Modifier and Type | Method and Description |
---|---|
static void |
registerCacheManager(ComponentContainer container,
MBeanServer mBeanServer)
Registers the CacheManager with the given container.
|
static void |
shutDownCacheManager(ComponentContainer container,
MBeanServer mBeanServer) |
public static final String EHCACHE_CONFIGURATION
public static final String ENABLE_JMX
public static final String FORCE_EHCACHE
public static final String ENABLE_STATISTICS
public static final String ENABLE_EHCACHE_STATISTICS
public static final String ENABLE_SLOMO
5
to 10
.public static final String ENABLE_SERIALIZATION_CHECK
public static final String SERIALIZATION_RECORDING_FILE
public static final String DISABLE_DEFERRED_CACHE_REPLICATION
public static void registerCacheManager(ComponentContainer container, MBeanServer mBeanServer)
container
- the container to receive the CacheManager (required)mBeanServer
- the JMX server with which to register any MBeans (ignored if null)public static void shutDownCacheManager(ComponentContainer container, MBeanServer mBeanServer)
Copyright © 2002-2021 Atlassian. All Rights Reserved.