1 package org.enhydra.shark.api.client.wfservice; 2 3 import org.enhydra.shark.api.client.wfbase.BaseException; 4 5 9 public interface CacheAdministration { 10 11 17 void connect (String userId); 18 19 20 int getProcessCacheSize () throws BaseException; 21 22 23 void setProcessCacheSize (int size) throws BaseException; 24 25 26 int howManyCachedProcesses () throws BaseException; 27 28 29 void clearProcessCache () throws BaseException; 30 31 32 int getResourceCacheSize () throws BaseException; 33 34 35 void setResourceCacheSize (int size) throws BaseException; 36 37 38 int howManyCachedResources () throws BaseException; 39 40 41 void clearResourceCache () throws BaseException; 42 43 } 44 | Popular Tags |