001 package railo.commons.io.cache; 002 003 import java.io.IOException; 004 005 import railo.commons.io.cache.exp.CacheException; 006 007 public interface Cache2 extends Cache { 008 009 /** 010 * clears the complete Cache 011 * @throws IOException 012 */ 013 public void clear() throws IOException; 014 015 /** 016 * verifies the cache, throws a exception if something is wrong with the cache 017 * @throws CacheException 018 */ 019 public void verify() throws CacheException; 020 }