001    package railo.runtime.cache.util;
002    
003    import railo.commons.io.cache.CacheKeyFilter;
004    
005    /**
006     * accept everything
007     */
008    public class CacheKeyFilterAll implements CacheKeyFilter {
009    
010            private static CacheKeyFilterAll instance=new CacheKeyFilterAll();
011    
012            @Override
013            public boolean accept(String key) {
014                    return true;
015            }
016    
017            @Override
018            public String toPattern() {
019                    return "*";
020            }
021    
022            public static CacheKeyFilterAll getInstance() {
023                    return instance;
024            }
025    
026    }