Uses of Enum
org.cruk.clarity.api.StatefulOverride
Package
Description
The main public package of the Clarity API.
Concrete implementation classes of the Clarity API.
-
Uses of StatefulOverride in org.cruk.clarity.api
Modifier and TypeMethodDescriptionstatic StatefulOverride
Returns the enum constant of this type with the specified name.static StatefulOverride[]
StatefulOverride.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
ClarityAPI.overrideStateful
(StatefulOverride override) Forces the API to fetch stateful entities according to the rule given for the next API call only. -
Uses of StatefulOverride in org.cruk.clarity.api.impl
Modifier and TypeFieldDescriptionprotected ThreadLocal<StatefulOverride>
ClarityAPIImpl.statefulOverride
Thread local flag indicating whether the next call on the thread should fetch stateful entities according to a different rule to the normal.Modifier and TypeMethodDescriptionClarityAPIImpl.getStatefulOverride()
Helper method for the cache, this method returns whether the next call on the current thread will need to fetch stateful entities in a special way or not.ClarityAPIInternal.getStatefulOverride()
Helper method for the cache, this method returns whether the next call on the current thread will need to fetch stateful entities in a special way or not.Modifier and TypeMethodDescriptionvoid
ClarityAPIImpl.overrideStateful
(StatefulOverride override) Forces the API to fetch stateful entities according to the rule given for the next API call only.