railo.runtime.cache
Class CacheEngine

java.lang.Object
  extended by railo.runtime.cache.CacheEngine

public class CacheEngine
extends Object


Constructor Summary
CacheEngine(Cache cache)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEngine

public CacheEngine(Cache cache)
Method Detail

delete

public void delete(String key,
                   boolean throwWhenNotExists)
            throws CacheException
Throws:
CacheException

exists

public boolean exists(String key)

flush

public int flush(String key,
                 String filter)
          throws org.apache.oro.text.regex.MalformedPatternException
Throws:
org.apache.oro.text.regex.MalformedPatternException

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