Package | Description |
---|---|
org.apache.jcs.access |
Contains classes for accessing the cache.
|
org.apache.jcs.access.behavior | |
org.apache.jcs.auxiliary.disk |
The primary disk auxiliary.
|
org.apache.jcs.engine |
Interfaces used by the core and the auxiliary caches.
|
org.apache.jcs.engine.behavior |
Interfaces used by the core and the auxiliary caches.
|
org.apache.jcs.engine.control |
The primary cache classes and the hub.
|
org.apache.jcs.engine.memory |
Parent package for memory type plugins.
|
Modifier and Type | Method and Description |
---|---|
IElementAttributes |
CacheAccess.getDefaultElementAttributes()
Retrieves A COPY OF the default element attributes used by this region.
|
IElementAttributes |
CacheAccess.getElementAttributes()
Deprecated.
As of release 1.3
|
IElementAttributes |
CacheAccess.getElementAttributes(java.lang.Object name)
GetElementAttributes will return an attribute object describing the current attributes
associated with the object name.
|
Modifier and Type | Method and Description |
---|---|
static CacheAccess |
CacheAccess.defineRegion(java.lang.String name,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Define a new cache region with the specified name and attributes and return a CacheAccess to
it.
|
void |
CacheAccess.put(java.lang.Object key,
java.lang.Object val,
IElementAttributes attr)
Constructs a cache element with these attributes, and puts it into the cache.
|
void |
GroupCacheAccess.putInGroup(java.lang.Object name,
java.lang.String groupName,
java.lang.Object value,
IElementAttributes attr)
Allows the user to put an object into a group within a particular cache
region.
|
void |
CacheAccess.resetElementAttributes(IElementAttributes attr)
Deprecated.
As of release 1.3
|
void |
CacheAccess.resetElementAttributes(java.lang.Object name,
IElementAttributes attr)
Reset attributes for a particular element in the cache.
|
void |
CacheAccess.setDefaultElementAttributes(IElementAttributes attr)
This method is does not reset the attributes for items already in the cache.
|
Modifier and Type | Method and Description |
---|---|
IElementAttributes |
ICacheAccess.getElementAttributes()
GetElementAttributes will return an attribute object describing the
current attributes associated with the object name.
|
IElementAttributes |
ICacheAccess.getElementAttributes(java.lang.Object name)
Gets the elementAttributes attribute of the ICacheAccess object
|
Modifier and Type | Method and Description |
---|---|
void |
ICacheAccess.put(java.lang.Object name,
java.lang.Object obj,
IElementAttributes attr)
Description of the Method
|
void |
IGroupCacheAccess.putInGroup(java.lang.Object key,
java.lang.String group,
java.lang.Object obj,
IElementAttributes attr)
Put in the cache associated with this group using these attributes.
|
void |
ICacheAccess.resetElementAttributes(IElementAttributes attributes)
ResetAttributes allows for some of the attributes of a region to be reset
in particular expiration time attriubtes, time to live, default time to
live and idle time, and event handlers.
|
void |
ICacheAccess.resetElementAttributes(java.lang.Object name,
IElementAttributes attributes)
Reset the attributes on the object matching this key name.
|
Modifier and Type | Method and Description |
---|---|
IElementAttributes |
PurgatoryElement.getElementAttributes() |
Modifier and Type | Method and Description |
---|---|
void |
PurgatoryElement.setElementAttributes(IElementAttributes attr) |
Modifier and Type | Class and Description |
---|---|
class |
ElementAttributes
This it the element attribute descriptor class.
|
Modifier and Type | Field and Description |
---|---|
IElementAttributes |
CacheElement.attr
These attributes hold information about the element and what it is
allowed to do.
|
IElementAttributes |
CacheGroup.attr
Element configuration.
|
Modifier and Type | Method and Description |
---|---|
IElementAttributes |
ElementAttributes.copy()
Copies the attributes, including references to event handlers.
|
IElementAttributes |
CacheElement.getElementAttributes()
Gets the IElementAttributes attribute of the CacheElement object
|
IElementAttributes |
CacheElementSerialized.getElementAttributes() |
IElementAttributes |
CacheGroup.getElementAttrributes()
Gets the attrributes attribute of the CacheGroup object
|
Modifier and Type | Method and Description |
---|---|
void |
CacheElement.setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the CacheElement object
|
void |
CacheElementSerialized.setElementAttributes(IElementAttributes attr) |
void |
CacheGroup.setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the CacheGroup object
|
Constructor and Description |
---|
CacheElement(java.lang.String cacheName,
java.io.Serializable key,
java.io.Serializable val,
IElementAttributes attrArg)
Constructor for the CacheElement object
|
CacheElementSerialized(java.lang.String cacheNameArg,
java.io.Serializable keyArg,
byte[] serializedValueArg,
IElementAttributes elementAttributesArg)
Constructs a usable wrapper.
|
Modifier and Type | Method and Description |
---|---|
IElementAttributes |
IElementAttributes.copy()
Returns a copy of the object.
|
IElementAttributes |
ICacheElement.getElementAttributes()
Gets the attributes attribute of the ICacheElement object
|
IElementAttributes |
ICacheElementSerialized.getElementAttributes()
Gets the attributes attribute of the ICacheElement object
|
Modifier and Type | Method and Description |
---|---|
void |
ICacheElement.setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement object
|
void |
ICacheElementSerialized.setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement object
|
Modifier and Type | Field and Description |
---|---|
protected IElementAttributes |
CompositeCacheManager.defaultElementAttr
Default elemeent attributes for this cache manager
|
Modifier and Type | Method and Description |
---|---|
IElementAttributes |
CompositeCacheManager.getDefaultElementAttributes()
Gets the defaultElementAttributes attribute of the CacheHub object
|
IElementAttributes |
CompositeCache.getElementAttributes()
Gets the default element attribute of the Cache object This returna a copy.
|
IElementAttributes |
CompositeCache.getElementAttributes(java.io.Serializable key)
Gets the elementAttributes attribute of the Cache object.
|
protected IElementAttributes |
CompositeCacheConfigurator.parseElementAttributes(java.util.Properties props,
java.lang.String regName,
java.lang.String regionPrefix)
Create the element attributes from the properties object for a cache region.
|
Modifier and Type | Method and Description |
---|---|
CompositeCache |
CompositeCacheManager.getCache(ICompositeCacheAttributes cattr,
IElementAttributes attr)
If the cache has already been created, then the CacheAttributes and the element Attributes
will be ignored.
|
CompositeCache |
CompositeCacheManager.getCache(java.lang.String cacheName,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Gets the cache attribute of the CacheHub object
|
void |
CompositeCacheManager.setDefaultElementAttributes(IElementAttributes iea)
Sets the defaultElementAttributes attribute of the CacheHub object
|
void |
CompositeCache.setElementAttributes(IElementAttributes attr)
Sets the default element attribute of the Cache object.
|
Constructor and Description |
---|
CompositeCache(java.lang.String cacheName,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Constructor for the Cache object
|
Modifier and Type | Field and Description |
---|---|
IElementAttributes |
AbstractMemoryCache.attr
Region Elemental Attributes, used as a default.
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.