public abstract class JCS extends Object
| Constructor and Description |
|---|
JCS() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> GroupCacheAccess<K,V> |
getGroupCacheInstance(String region)
Get a GroupCacheAccess which accesses the provided region.
|
static <K,V> GroupCacheAccess<K,V> |
getGroupCacheInstance(String region,
ICompositeCacheAttributes icca)
Get a GroupCacheAccess which accesses the provided region.
|
static <K,V> GroupCacheAccess<K,V> |
getGroupCacheInstance(String region,
ICompositeCacheAttributes icca,
IElementAttributes eattr)
Get a GroupCacheAccess which accesses the provided region.
|
static <K,V> CacheAccess<K,V> |
getInstance(String region)
Get a CacheAccess which accesses the provided region.
|
static <K,V> CacheAccess<K,V> |
getInstance(String region,
ICompositeCacheAttributes icca)
Get a CacheAccess which accesses the provided region.
|
static <K,V> CacheAccess<K,V> |
getInstance(String region,
ICompositeCacheAttributes icca,
IElementAttributes eattr)
Get a CacheAccess which accesses the provided region.
|
static void |
setConfigFilename(String configFilename)
Set the filename that the cache manager will be initialized with.
|
static void |
setConfigProperties(Properties configProps)
Set the properties that the cache manager will be initialized with.
|
static void |
setLogSystem(String logSystem)
Set the log system.
|
static void |
shutdown()
Shut down the cache manager and set the instance to null
|
public static void setConfigFilename(String configFilename)
configFilename - public static void setConfigProperties(Properties configProps)
configProps - public static void setLogSystem(String logSystem)
LogManager.LOGSYSTEM_JAVA_UTIL_LOGGING
and LogManager.LOGSYSTEM_LOG4J2logSystem - the logSystem to setpublic static void shutdown()
public static <K,V> CacheAccess<K,V> getInstance(String region) throws CacheException
region - Region that return CacheAccess will provide access toCacheExceptionpublic static <K,V> CacheAccess<K,V> getInstance(String region, ICompositeCacheAttributes icca) throws CacheException
region - Region that return CacheAccess will provide access toicca - CacheAttributes for regionCacheExceptionpublic static <K,V> CacheAccess<K,V> getInstance(String region, ICompositeCacheAttributes icca, IElementAttributes eattr) throws CacheException
region - Region that return CacheAccess will provide access toicca - CacheAttributes for regioneattr - ElementAttributes for the regionCacheExceptionpublic static <K,V> GroupCacheAccess<K,V> getGroupCacheInstance(String region) throws CacheException
region - Region that return GroupCacheAccess will provide access toCacheExceptionpublic static <K,V> GroupCacheAccess<K,V> getGroupCacheInstance(String region, ICompositeCacheAttributes icca) throws CacheException
region - Region that return GroupCacheAccess will provide access toicca - CacheAttributes for regionCacheExceptionpublic static <K,V> GroupCacheAccess<K,V> getGroupCacheInstance(String region, ICompositeCacheAttributes icca, IElementAttributes eattr) throws CacheException
region - Region that return CacheAccess will provide access toicca - CacheAttributes for regioneattr - ElementAttributes for the regionCacheExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.