railo.runtime.type.scope.storage.clean
Class CacheStorageScopeCleaner.Filter

java.lang.Object
  extended by railo.runtime.type.scope.storage.clean.CacheStorageScopeCleaner.Filter
All Implemented Interfaces:
CacheFilter, CacheKeyFilter
Enclosing class:
CacheStorageScopeCleaner

public static class CacheStorageScopeCleaner.Filter
extends Object
implements CacheKeyFilter


Constructor Summary
CacheStorageScopeCleaner.Filter(String type)
           
 
Method Summary
 boolean accept(String key)
          Tests if a specified key should be accepted.
 int length()
           
 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

CacheStorageScopeCleaner.Filter

public CacheStorageScopeCleaner.Filter(String type)
Method Detail

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

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.

length

public int length()


Copyright © 2012 Railo