|
|||||||||
| Home >> All >> com >> opencms >> flex >> [ cache overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.flex.cache
Class CmsFlexCache.CmsFlexCacheVariation

java.lang.Objectcom.opencms.flex.cache.CmsFlexCache.CmsFlexCacheVariation
- All Implemented Interfaces:
- com.opencms.flex.util.I_CmsFlexLruCacheObject
- Enclosing class:
- CmsFlexCache
- class CmsFlexCache.CmsFlexCacheVariation
- extends java.lang.Object
- implements com.opencms.flex.util.I_CmsFlexLruCacheObject
- extends java.lang.Object
A simple data container class for the FlexCache variations.
- Version:
- $Revision: 1.17 $
| Field Summary | |
private static int |
DEBUG
Internal debug switch |
CmsFlexCacheKey |
key
The key belonging to the resource |
private com.opencms.flex.util.I_CmsFlexLruCacheObject |
m_Next
Pointer to the next cache entry in the LRU cache |
private com.opencms.flex.util.I_CmsFlexLruCacheObject |
m_Previous
Pointer to the previous cache entry in the LRU cache. |
java.util.Map |
map
Maps variations to CmsFlexCacheEntries |
| Constructor Summary | |
CmsFlexCache.CmsFlexCacheVariation(CmsFlexCacheKey theKey)
Generates a new instance of CmsFlexCacheVariation. |
|
| Method Summary | |
void |
addToLruCache()
Invoked after an object was added to the cache. |
int |
getLruCacheCosts()
Returns the cache costs of this object, as for example it's byte size. |
com.opencms.flex.util.I_CmsFlexLruCacheObject |
getNextLruObject()
Returns the next object in the double linked list of all cached objects. |
com.opencms.flex.util.I_CmsFlexLruCacheObject |
getPreviousLruObject()
Returns the previous object in the double linked list of all cached objects. |
void |
removeFromLruCache()
Invoked after the object was removed to the cache. |
void |
setNextLruObject(com.opencms.flex.util.I_CmsFlexLruCacheObject theNextEntry)
Set the next object in the double linked list of all cached objects. |
void |
setPreviousLruObject(com.opencms.flex.util.I_CmsFlexLruCacheObject thePreviousEntry)
Set the previous object in the double linked list of all cached objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
m_Next
private com.opencms.flex.util.I_CmsFlexLruCacheObject m_Next
- Pointer to the next cache entry in the LRU cache
m_Previous
private com.opencms.flex.util.I_CmsFlexLruCacheObject m_Previous
- Pointer to the previous cache entry in the LRU cache.
key
public CmsFlexCacheKey key
- The key belonging to the resource
map
public java.util.Map map
- Maps variations to CmsFlexCacheEntries
DEBUG
private static final int DEBUG
- Internal debug switch
- See Also:
- Constant Field Values
| Constructor Detail |
CmsFlexCache.CmsFlexCacheVariation
public CmsFlexCache.CmsFlexCacheVariation(CmsFlexCacheKey theKey)
- Generates a new instance of CmsFlexCacheVariation.
| Method Detail |
setNextLruObject
public void setNextLruObject(com.opencms.flex.util.I_CmsFlexLruCacheObject theNextEntry)
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Set the next object in the double linked list of all cached objects.
- Specified by:
setNextLruObjectin interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
getNextLruObject
public com.opencms.flex.util.I_CmsFlexLruCacheObject getNextLruObject()
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Returns the next object in the double linked list of all cached objects.
- Specified by:
getNextLruObjectin interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
setPreviousLruObject
public void setPreviousLruObject(com.opencms.flex.util.I_CmsFlexLruCacheObject thePreviousEntry)
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Set the previous object in the double linked list of all cached objects.
- Specified by:
setPreviousLruObjectin interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
getPreviousLruObject
public com.opencms.flex.util.I_CmsFlexLruCacheObject getPreviousLruObject()
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Returns the previous object in the double linked list of all cached objects.
- Specified by:
getPreviousLruObjectin interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
addToLruCache
public void addToLruCache()
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Invoked after an object was added to the cache.
- Specified by:
addToLruCachein interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
removeFromLruCache
public void removeFromLruCache()
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Invoked after the object was removed to the cache.
- Specified by:
removeFromLruCachein interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
getLruCacheCosts
public int getLruCacheCosts()
- Description copied from interface:
com.opencms.flex.util.I_CmsFlexLruCacheObject - Returns the cache costs of this object, as for example it's byte size.
- Specified by:
getLruCacheCostsin interfacecom.opencms.flex.util.I_CmsFlexLruCacheObject
|
|||||||||
| Home >> All >> com >> opencms >> flex >> [ cache overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.opencms.flex.cache.CmsFlexCache.CmsFlexCacheVariation