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)
Deprecated.
Duplicate of getInstance(String, ICompositeCacheAttributes)
|
static <K,V> CacheAccess<K,V> |
JCS.defineRegion(String name,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Deprecated.
Duplicate of getInstance(String, ICompositeCacheAttributes, IElementAttributes)
|
static <K,V> GroupCacheAccess<K,V> |
JCS.getGroupCacheInstance(String region,
ICompositeCacheAttributes icca)
Get a GroupCacheAccess which accesses the provided region.
|
static <K,V> GroupCacheAccess<K,V> |
JCS.getGroupCacheInstance(String region,
ICompositeCacheAttributes icca,
IElementAttributes eattr)
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.
|
static <K,V> CacheAccess<K,V> |
JCS.getInstance(String region,
ICompositeCacheAttributes icca,
IElementAttributes eattr)
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.clone() |
Modifier and Type | Method and Description |
---|---|
ICompositeCacheAttributes |
ICompositeCacheAttributes.clone()
Clone object
|
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
|
protected ICompositeCacheAttributes |
CompositeCacheConfigurator.parseCompositeCacheAttributes(Properties props,
String regName,
ICompositeCacheAttributes defaultCCAttr)
Get an ICompositeCacheAttributes for the listed region.
|
protected ICompositeCacheAttributes |
CompositeCacheConfigurator.parseCompositeCacheAttributes(Properties props,
String regName,
ICompositeCacheAttributes defaultCCAttr,
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.newCache(ICompositeCacheAttributes cca,
IElementAttributes ea) |
protected ICompositeCacheAttributes |
CompositeCacheConfigurator.parseCompositeCacheAttributes(Properties props,
String regName,
ICompositeCacheAttributes defaultCCAttr)
Get an ICompositeCacheAttributes for the listed region.
|
protected ICompositeCacheAttributes |
CompositeCacheConfigurator.parseCompositeCacheAttributes(Properties props,
String regName,
ICompositeCacheAttributes defaultCCAttr,
String regionPrefix)
Get the main attributes for a region.
|
protected <K,V> CompositeCache<K,V> |
CompositeCacheConfigurator.parseRegion(Properties props,
CompositeCacheManager ccm,
String regName,
String auxiliaries,
ICompositeCacheAttributes cca)
Get all the properties for a region and configure its cache.
|
protected <K,V> CompositeCache<K,V> |
CompositeCacheConfigurator.parseRegion(Properties props,
CompositeCacheManager ccm,
String regName,
String auxiliaries,
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.
|
Constructor and Description |
---|
CompositeCache(ICompositeCacheAttributes cattr,
IElementAttributes attr)
Constructor for the Cache object
|
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–2018 The Apache Software Foundation. All rights reserved.