Package | Description |
---|---|
org.apache.commons.jcs |
Contains the class JCS which provides a simple interface for clients to use
JCS.
|
org.apache.commons.jcs.access |
Contains classes for accessing the cache.
|
org.apache.commons.jcs.access.behavior | |
org.apache.commons.jcs.engine |
Interfaces used by the core and the auxiliary caches.
|
org.apache.commons.jcs.engine.behavior |
Interfaces used by the core and the auxiliary caches.
|
org.apache.commons.jcs.engine.control |
The primary cache classes and the hub.
|
org.apache.commons.jcs.engine.memory |
Parent package for memory type plugins.
|
org.apache.commons.jcs.engine.memory.behavior |
Modifier and Type | Method and Description |
---|---|
static <K,V> CacheAccess<K,V> |
JCS.defineRegion(String name,
ICompositeCacheAttributes cattr)
Define a new cache region with the specified name and attributes.
|
static <K,V> CacheAccess<K,V> |
JCS.defineRegion(String name,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Define a new cache region with the specified name and attributes and return a CacheAccess to
it.
|
static <K,V> GroupCacheAccess<K,V> |
JCS.getGroupCacheInstance(String region,
ICompositeCacheAttributes icca)
Get a GroupCacheAccess which accesses the provided region.
|
static <K,V> CacheAccess<K,V> |
JCS.getInstance(String region,
ICompositeCacheAttributes icca)
Get a CacheAccess which accesses the provided region.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
PartitionedCacheAccess.getCacheAttributes() |
ICompositeCacheAttributes |
AbstractCacheAccess.getCacheAttributes()
Gets the ICompositeCacheAttributes of the cache region.
|
Modifier and Type | Method and Description |
---|---|
void |
PartitionedCacheAccess.setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the attributes on all the partitions.
|
void |
AbstractCacheAccess.setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the ICompositeCacheAttributes of the cache region.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
ICacheAccessManagement.getCacheAttributes()
Gets the ICompositeCacheAttributes of the cache region
|
Modifier and Type | Method and Description |
---|---|
void |
ICacheAccessManagement.setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the ICompositeCacheAttributes of the cache region
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeCacheAttributes
The CompositeCacheAttributes defines the general cache region settings.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
CompositeCacheAttributes.copy()
Description of the Method
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
ICompositeCacheAttributes.copy()
Clones the attributes.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
CompositeCache.getCacheAttributes()
Gets the ICompositeCacheAttributes attribute of the Cache object.
|
ICompositeCacheAttributes |
CompositeCacheManager.getDefaultCacheAttributes()
Gets the defaultCacheAttributes attribute of the CacheHub object
|
ICompositeCacheAttributes |
CompositeCacheManager.getDefaultCattr() |
protected ICompositeCacheAttributes |
CompositeCacheConfigurator.parseCompositeCacheAttributes(Properties props,
String regName)
Get an ICompositeCacheAttributes for the listed region.
|
protected ICompositeCacheAttributes |
CompositeCacheConfigurator.parseCompositeCacheAttributes(Properties props,
String regName,
String regionPrefix)
Get the main attributes for a region.
|
Modifier and Type | Method and Description |
---|---|
<K,V> CompositeCache<K,V> |
CompositeCacheManager.getCache(ICompositeCacheAttributes cattr)
Gets the cache attribute of the CacheHub object
|
<K,V> CompositeCache<K,V> |
CompositeCacheManager.getCache(ICompositeCacheAttributes cattr,
IElementAttributes attr)
If the cache has already been created, then the CacheAttributes and the element Attributes
will be ignored.
|
<K,V> CompositeCache<K,V> |
CompositeCacheManager.getCache(String cacheName,
ICompositeCacheAttributes cattr)
Gets the cache attribute of the CacheHub object
|
<K,V> CompositeCache<K,V> |
CompositeCacheManager.getCache(String cacheName,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Gets the cache attribute of the CacheHub object
|
protected <K,V> CompositeCache<K,V> |
CompositeCacheConfigurator.parseRegion(Properties props,
String regName,
String value,
ICompositeCacheAttributes cca)
Get all the properties for a region and configure its cache.
|
protected <K,V> CompositeCache<K,V> |
CompositeCacheConfigurator.parseRegion(Properties props,
String regName,
String value,
ICompositeCacheAttributes cca,
String regionPrefix)
Get all the properties for a region and configure its cache.
|
void |
CompositeCache.setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the ICompositeCacheAttributes attribute of the Cache object.
|
void |
CompositeCacheManager.setDefaultCacheAttributes(ICompositeCacheAttributes icca)
Sets the defaultCacheAttributes attribute of the CacheHub object
|
Constructor and Description |
---|
CompositeCache(ICompositeCacheAttributes cattr,
IElementAttributes attr)
Constructor for the Cache object
|
Modifier and Type | Field and Description |
---|---|
ICompositeCacheAttributes |
AbstractMemoryCache.cacheAttributes
Cache Attributes.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
AbstractMemoryCache.getCacheAttributes()
Returns the CacheAttributes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMemoryCache.setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the CacheAttributes.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
IMemoryCache.getCacheAttributes()
Returns the CacheAttributes for the region.
|
Modifier and Type | Method and Description |
---|---|
void |
IMemoryCache.setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the CacheAttributes of the region.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.