public class CacheEngine extends Object
Constructor and Description |
---|
CacheEngine(Cache cache) |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key,
boolean throwWhenNotExists) |
boolean |
exists(String key) |
int |
flush(String key,
String filter) |
Object |
get(String key) |
Object |
get(String key,
Object defaultValue) |
Cache |
getCache() |
Struct |
info() |
Struct |
info(String key) |
Array |
keys(String filter) |
Struct |
list(String filter) |
void |
set(String key,
Object value,
TimeSpan timespan) |
public CacheEngine(Cache cache)
public void delete(String key, boolean throwWhenNotExists) throws IOException
IOException
public int flush(String key, String filter) throws org.apache.oro.text.regex.MalformedPatternException, IOException
org.apache.oro.text.regex.MalformedPatternException
IOException
public Object get(String key) throws IOException
IOException
public Struct info(String key) throws IOException
IOException
Copyright © 2015 Lucee