Package tech.rsqn.cacheservice.support
Class TransparentCacheExecutionBehaviour
- java.lang.Object
-
- tech.rsqn.cacheservice.support.TransparentCacheExecutionBehaviour
-
public class TransparentCacheExecutionBehaviour extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ThreadLocal<CacheBehaviour>threadLocal
-
Constructor Summary
Constructors Constructor Description TransparentCacheExecutionBehaviour()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearCacheAfterReads()static voidenableDefaultBehaviour()static CacheBehaviourgetBehaviour()static voidreturnIfItemIsNotCached()
-
-
-
Field Detail
-
threadLocal
public static final java.lang.ThreadLocal<CacheBehaviour> threadLocal
-
-
Method Detail
-
getBehaviour
public static CacheBehaviour getBehaviour()
-
clearCacheAfterReads
public static void clearCacheAfterReads()
-
returnIfItemIsNotCached
public static void returnIfItemIsNotCached()
-
enableDefaultBehaviour
public static void enableDefaultBehaviour()
-
-