|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.cache.CacheSupport
railo.runtime.cache.eh.EHCacheSupport
public abstract class EHCacheSupport
Constructor Summary | |
---|---|
EHCacheSupport()
|
Method Summary | |
---|---|
boolean |
contains(String key)
check if there is a entry inside the cache that match the given key |
Struct |
getCustomInfo()
get all information data available for this cache |
CacheEntry |
getQuiet(String key)
|
CacheEntry |
getQuiet(String key,
CacheEntry defaultValue)
|
List |
keys()
Returns a List of the keys contained in this cache. |
void |
put(String key,
Object value,
Long idleTime,
Long liveTime)
puts a cache entry to the cache, overwrite existing entries that already exists inside the cache with the same key |
void |
register(CacheEventListener listener)
allows to register a CacheEventListener for one or more certain events |
Methods inherited from class railo.runtime.cache.CacheSupport |
---|
entries, entries, entries, getCacheEntry, getValue, getValue, keys, keys, remove, remove, values, values, values |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface railo.commons.io.cache.Cache |
---|
entries, entries, entries, getCacheEntry, getCacheEntry, getValue, getValue, hitCount, init, keys, keys, missCount, remove, remove, remove, values, values, values |
Constructor Detail |
---|
public EHCacheSupport()
Method Detail |
---|
public void register(CacheEventListener listener)
CacheEvent
register
in interface CacheEvent
public boolean contains(String key)
Cache
contains
in interface Cache
public Struct getCustomInfo()
Cache
getCustomInfo
in interface Cache
getCustomInfo
in class CacheSupport
public List keys()
Cache
keys
in interface Cache
public void put(String key, Object value, Long idleTime, Long liveTime)
Cache
put
in interface Cache
public CacheEntry getQuiet(String key, CacheEntry defaultValue)
getQuiet
in class CacheSupport
public CacheEntry getQuiet(String key)
getQuiet
in class CacheSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |