001    package railo.runtime.functions.cache;
002    
003    import railo.runtime.PageContext;
004    import railo.runtime.exp.PageException;
005    import railo.runtime.ext.function.Function;
006    
007    public class CacheRemoveAll implements Function {
008    
009            private static final long serialVersionUID = -3444983104369826751L;
010            
011            public static double call(PageContext pc) throws PageException {
012                    return CacheClear.call(pc);
013                    
014            }
015            public static double call(PageContext pc, String cacheName) throws PageException {
016                    return CacheClear.call(pc,null,cacheName);
017            }
018    }