Uses of Enum
org.cruk.clarity.api.cache.CacheStatefulBehaviour
Packages that use CacheStatefulBehaviour
Package
Description
The main public package of the Clarity API.
Package supporting caching of Clarity entities in memory
(or, if so configured, on disk) to reduce the amount of traffic being
sent to and from the REST API.
Concrete implementation classes of the Clarity API.
-
Uses of CacheStatefulBehaviour in org.cruk.clarity.api
Methods in org.cruk.clarity.api with parameters of type CacheStatefulBehaviourModifier and TypeMethodDescriptionvoid
ClarityAPI.nextCallCacheOverride
(CacheStatefulBehaviour behaviour) Deprecated. -
Uses of CacheStatefulBehaviour in org.cruk.clarity.api.cache
Fields in org.cruk.clarity.api.cache declared as CacheStatefulBehaviourModifier and TypeFieldDescriptionprotected CacheStatefulBehaviour
ClarityAPICache.behaviour
The behaviour for dealing with stateful entities.Methods in org.cruk.clarity.api.cache that return CacheStatefulBehaviourModifier and TypeMethodDescriptionprotected CacheStatefulBehaviour
ClarityAPICache.getBehaviourForCall()
Get the type of stateful behaviour to use for the current call.static CacheStatefulBehaviour
Returns the enum constant of this type with the specified name.static CacheStatefulBehaviour[]
CacheStatefulBehaviour.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.cruk.clarity.api.cache with parameters of type CacheStatefulBehaviourModifier and TypeMethodDescriptionvoid
ClarityAPICache.setStatefulBehaviour
(CacheStatefulBehaviour behaviour) Set the behaviour for dealing with stateful objects. -
Uses of CacheStatefulBehaviour in org.cruk.clarity.api.impl
Methods in org.cruk.clarity.api.impl with parameters of type CacheStatefulBehaviourModifier and TypeMethodDescriptionvoid
ClarityAPIImpl.nextCallCacheOverride
(CacheStatefulBehaviour behaviour) Deprecated.
ClarityAPI.overrideStateful(StatefulOverride)
with a conversion of thebehaviour
value toStatefulOverride
, so behaviour is maintained but one should update code to useoverrideStateful
.