Uses of Enum
org.cruk.clarity.api.cache.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
Modifier and TypeMethodDescriptionvoid
ClarityAPI.nextCallCacheOverride
(CacheStatefulBehaviour behaviour) Deprecated. -
Uses of CacheStatefulBehaviour in org.cruk.clarity.api.cache
Modifier and TypeFieldDescriptionprotected CacheStatefulBehaviour
ClarityAPICache.behaviour
The behaviour for dealing with stateful entities.Modifier 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.Modifier and TypeMethodDescriptionvoid
ClarityAPICache.setStatefulBehaviour
(CacheStatefulBehaviour behaviour) Set the behaviour for dealing with stateful objects. -
Uses of CacheStatefulBehaviour in org.cruk.clarity.api.impl
Modifier 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
.