railo.runtime.functions.cache
Class CacheClear

java.lang.Object
  extended by railo.runtime.functions.cache.CacheClear
All Implemented Interfaces:
Serializable, CacheFilter, CacheKeyFilter, Function

public final class CacheClear
extends Object
implements Function, CacheKeyFilter

See Also:
Serialized Form

Constructor Summary
CacheClear()
           
 
Method Summary
 boolean accept(String key)
          Tests if a specified key should be accepted.
static double call(PageContext pc)
           
static double call(PageContext pc, String strFilter)
           
static double call(PageContext pc, String strFilter, String cacheName)
           
 String toPattern()
          a string pattern of the filter, this is used when the filtering is made natively by the implementation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheClear

public CacheClear()
Method Detail

call

public static double call(PageContext pc)
                   throws PageException
Throws:
PageException

call

public static double call(PageContext pc,
                          String strFilter)
                   throws PageException
Throws:
PageException

call

public static double call(PageContext pc,
                          String strFilter,
                          String cacheName)
                   throws PageException
Throws:
PageException

accept

public boolean accept(String key)
Description copied from interface: CacheKeyFilter
Tests if a specified key should be accepted.

Specified by:
accept in interface CacheKeyFilter
Parameters:
key - key to check
Returns:
if and only if the Entry should be accepted; false otherwise.

toPattern

public String toPattern()
Description copied from interface: CacheFilter
a string pattern of the filter, this is used when the filtering is made natively by the implementation

Specified by:
toPattern in interface CacheFilter
Returns:
string pattern of the filter


Copyright © 2012 Railo