railo.runtime.type.scope.storage.clean
Class CacheStorageScopeCleaner.Filter
java.lang.Object
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
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 |
CacheStorageScopeCleaner.Filter
public CacheStorageScopeCleaner.Filter(String type)
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