1 20 package org.enhydra.dods.cache; 21 22 import org.enhydra.dods.exceptions.CacheObjectException; 23 24 33 public abstract class CacheAdministration { 34 35 40 public abstract int getMaxCacheSize(); 41 42 51 public abstract int getMaxCacheSize(boolean real); 52 53 58 public abstract int getCacheSize(); 59 60 65 protected abstract void setMaxCacheSize(int maxSize) throws CacheObjectException; 66 67 70 public abstract void refresh(); 71 72 75 public abstract void disable(); 76 77 80 public abstract void enable(); 81 } 82 | Popular Tags |