JAL-1648 Added improvement to persist cache items to properties file beyound a Jalvie...
[jalview.git] / src / jalview / io / cache / AppCacheI.java
index 51d51c2..8d9e9f9 100644 (file)
@@ -5,7 +5,11 @@ import java.util.Set;
 public interface AppCacheI
 {
 
-  public Set<String> getAllCachedItemsFor(String cacheKey);
+  public void initCache(Cacheable cacheable);
 
   public void updateCache(Cacheable cacheable);
+
+  public void persistCache(Cacheable cacheable);
+
+  public Set<String> getAllCachedItemsFor(Cacheable cacheable);
 }