JAL-1648 Added improvement to persist cache items to properties file beyound a Jalvie...
[jalview.git] / src / jalview / io / cache / Cacheable.java
index 9aa0a0a..0287457 100644 (file)
@@ -7,7 +7,12 @@ public interface Cacheable
   /**
    * method executed on cache initialisation
    */
-  public void init();
+  public void initCache();
+
+  /**
+   * method executed on cache update
+   */
+  public void updateCache();
 
   /**
    * Combo-box instance for the cache component
@@ -23,6 +28,4 @@ public interface Cacheable
    * @return
    */
   public String getCacheKey();
-
-
 }