public abstract class EHCacheSupport extends CacheSupport implements Cache, CacheEvent
Constructor and Description |
---|
EHCacheSupport() |
Modifier and Type | Method and Description |
---|---|
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
|
clear, entries, entries, entries, getCacheEntry, getValue, getValue, keys, keys, remove, remove, values, values, values
public EHCacheSupport()
public void register(CacheEventListener listener)
CacheEvent
register
in interface CacheEvent
public boolean contains(String key)
Cache
public Struct getCustomInfo()
Cache
getCustomInfo
in interface Cache
getCustomInfo
in class CacheSupport
public List keys()
Cache
public void put(String key, Object value, Long idleTime, Long liveTime)
Cache
public CacheEntry getQuiet(String key, CacheEntry defaultValue)
getQuiet
in class CacheSupport
public CacheEntry getQuiet(String key)
getQuiet
in class CacheSupport
Copyright © 2015 Lucee