Cache#

public class Cache#

Caching Helper Class used for all caches in the CaosDB Server.

The actual work is delegated to an instance of JCSCacheHelper. However, the delegate DELEGATE can be be overridden for testing purposes with setDelegate(Cache).

Author:

Timm Fitschen (t.fitschen@indiscale.com)

Methods#

getCache#

public static final <K, V extends Serializable> ICacheAccess<K, V> getCache(String region)#

setDelegate#

public static void setDelegate(CacheHelper delegate)#