public class JCS extends GroupCacheAccess
cacheControl
Modifier | Constructor and Description |
---|---|
protected |
JCS(CompositeCache cacheControl)
Protected constructor for use by the static factory methods.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
ensureCacheManager()
Gets an instance of CompositeCacheManager and stores it in the cacheMgr class field, if it is
not already set.
|
static JCS |
getInstance(java.lang.String region)
Get a JCS which accesses the provided region.
|
static JCS |
getInstance(java.lang.String region,
ICompositeCacheAttributes icca)
Get a JCS which accesses the provided region.
|
static void |
setConfigFilename(java.lang.String configFilename)
Set the filename that the cache manager will be initialized with.
|
getFromGroup, getGroupAccess, getGroupAccess, getGroupKeys, invalidateGroup, putInGroup, putInGroup, remove
clear, defineRegion, defineRegion, defineRegion, destroy, destroy, dispose, freeMemoryElements, get, getAccess, getAccess, getCacheAttributes, getCacheElement, getCacheElements, getDefaultElementAttributes, getElementAttributes, getElementAttributes, getMatching, getMatchingCacheElements, getStatistics, getStats, put, put, putSafe, remove, remove, resetElementAttributes, resetElementAttributes, setCacheAttributes, setDefaultElementAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, destroy, freeMemoryElements, get, getCacheAttributes, getCacheElement, getCacheElements, getElementAttributes, getElementAttributes, getMatching, getMatchingCacheElements, put, put, putSafe, remove, remove, resetElementAttributes, resetElementAttributes, setCacheAttributes
protected JCS(CompositeCache cacheControl)
cacheControl
- Cache which the instance will provide access topublic static JCS getInstance(java.lang.String region) throws CacheException
region
- Region that return JCS will provide access toCacheException
public static JCS getInstance(java.lang.String region, ICompositeCacheAttributes icca) throws CacheException
region
- Region that return JCS will provide access toicca
- CacheAttributes for regionCacheException
protected static void ensureCacheManager()
public static void setConfigFilename(java.lang.String configFilename)
configFilename
- Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.