railo.runtime.cache.util
Class CacheKeyFilterAll

java.lang.Object
  extended by railo.runtime.cache.util.CacheKeyFilterAll
All Implemented Interfaces:
CacheFilter, CacheKeyFilter

public class CacheKeyFilterAll
extends Object
implements CacheKeyFilter

accept everything


Constructor Summary
CacheKeyFilterAll()
           
 
Method Summary
 boolean accept(String key)
          Tests if a specified key should be accepted.
static CacheKeyFilterAll getInstance()
           
 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

CacheKeyFilterAll

public CacheKeyFilterAll()
Method Detail

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

getInstance

public static CacheKeyFilterAll getInstance()


Copyright © 2012 Railo