.. java:import:: java.io Serializable .. java:import:: org.apache.commons.jcs.access.behavior ICacheAccess Cache ===== .. java:package:: org.caosdb.server.caching :noindex: .. java:type:: public class Cache Caching Helper Class used for all caches in the CaosDB Server. The actual work is delegated to an instance of \ :java:ref:`JCSCacheHelper`\ . However, the delegate \ :java:ref:`DELEGATE`\ can be be overridden for testing purposes with \ :java:ref:`setDelegate(Cache)`\ . :author: Timm Fitschen (t.fitschen@indiscale.com) Methods ------- getCache ^^^^^^^^ .. java:method:: public static final ICacheAccess getCache(String region) :outertype: Cache setDelegate ^^^^^^^^^^^ .. java:method:: public static void setDelegate(CacheHelper delegate) :outertype: Cache