|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.tags.helper.TagCacheEntry
public class TagCacheEntry
Class to store data for a tag cache entry
Field Summary | |
---|---|
protected java.lang.Object |
m_cacheData
Cache value |
protected XPDateTime |
m_expiration
The time when this entry expires |
Constructor Summary | |
---|---|
TagCacheEntry(java.lang.Object cacheData,
XPDateTime expiration)
Constructor |
Method Summary | |
---|---|
void |
ExpireEntry()
Expire entry by setting the expiration time to 1hr ago. |
java.lang.Object |
GetCacheData()
Get the cached value |
boolean |
IsEntryExpired()
Check if entry expired |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object m_cacheData
protected XPDateTime m_expiration
Constructor Detail |
---|
public TagCacheEntry(java.lang.Object cacheData, XPDateTime expiration)
cacheData
- expiration
- Method Detail |
---|
public void ExpireEntry()
public boolean IsEntryExpired()
public java.lang.Object GetCacheData()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |