|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openprivacy.reptile.cache.sequence.SequenceCache
A handle for items within the sequence cache.
Constructor Summary | |
SequenceCache()
|
Method Summary | |
boolean |
contains(SequenceCacheHandle handle)
Return true if the SequenceCache contains the given handle. |
SequenceCacheEntry |
fetch(SequenceCacheHandle handle)
Fetch a sequence from the memory cache if it is available. |
SequenceCacheEntry |
fetch(SequenceDispatchEntry sde,
ParameterPasser params)
|
void |
flush()
Flush all entries from the cache. |
void |
flush(SequenceCacheHandle handle)
Flush the given cache hanle. |
void |
flush(java.lang.String location)
Remove from the cache any entry which points has the given location and contentType.. |
int |
getCacheHits()
Get the value of cacheHits . |
int |
getCacheMisses()
Get the value of cacheMisses . |
java.util.Enumeration |
getEntries()
Get all known entries from the cache. |
static SequenceCache |
getInstance()
Get an instance of the SequenceCache. |
void |
incrementCacheHits()
Increase the cache hits by one. |
void |
incrementCacheMisses()
Increase the cache hits by one. |
void |
setCacheHits(int cacheHits)
Set the value of cacheHits . |
void |
setCacheMisses(int cacheMisses)
Set the value of cacheMisses . |
void |
store(SequenceCacheHandle handle,
java.lang.String content)
Store content within the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequenceCache()
Method Detail |
public SequenceCacheEntry fetch(SequenceDispatchEntry sde, ParameterPasser params) throws java.lang.Exception
java.lang.Exception
fetch(org.openprivacy.reptile.xslt.SequenceDispatchEntry, org.openprivacy.reptile.util.ParameterPasser)
public SequenceCacheEntry fetch(SequenceCacheHandle handle) throws java.lang.Exception
java.lang.Exception
public boolean contains(SequenceCacheHandle handle)
public void store(SequenceCacheHandle handle, java.lang.String content) throws java.lang.Exception
java.lang.Exception
public void flush()
public void flush(SequenceCacheHandle handle)
public void flush(java.lang.String location)
public java.util.Enumeration getEntries()
public static SequenceCache getInstance()
public void setCacheHits(int cacheHits)
cacheHits
.
public int getCacheHits()
cacheHits
.
public int getCacheMisses()
cacheMisses
.
public void setCacheMisses(int cacheMisses)
cacheMisses
.
public void incrementCacheHits()
public void incrementCacheMisses()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |