railo.runtime.cache
Class CacheEngine
java.lang.Object
railo.runtime.cache.CacheEngine
public class CacheEngine
- extends Object
CacheEngine
public CacheEngine(Cache cache)
delete
public void delete(String key,
boolean throwWhenNotExists)
throws IOException
- Throws:
IOException
exists
public boolean exists(String key)
flush
public int flush(String key,
String filter)
throws org.apache.oro.text.regex.MalformedPatternException,
IOException
- Throws:
org.apache.oro.text.regex.MalformedPatternException
IOException
get
public Object get(String key,
Object defaultValue)
get
public Object get(String key)
throws IOException
- Throws:
IOException
keys
public Array keys(String filter)
list
public Struct list(String filter)
set
public void set(String key,
Object value,
TimeSpan timespan)
info
public Struct info()
info
public Struct info(String key)
throws IOException
- Throws:
IOException
getCache
public Cache getCache()
Copyright © 2012 Railo