Uses of Enum
org.cruk.clarity.api.StatefulOverride
Packages that use 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
Methods in org.cruk.clarity.api that return StatefulOverrideModifier and TypeMethodDescriptionstatic StatefulOverrideReturns 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.Methods in org.cruk.clarity.api with parameters of type StatefulOverrideModifier and TypeMethodDescriptionvoidClarityAPI.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
Fields in org.cruk.clarity.api.impl with type parameters of type StatefulOverrideModifier and TypeFieldDescriptionprotected ThreadLocal<StatefulOverride>ClarityAPIImpl.statefulOverrideThread local flag indicating whether the next call on the thread should fetch stateful entities according to a different rule to the normal.Methods in org.cruk.clarity.api.impl that return StatefulOverrideModifier 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.Methods in org.cruk.clarity.api.impl with parameters of type StatefulOverrideModifier and TypeMethodDescriptionvoidClarityAPIImpl.overrideStateful(StatefulOverride override) Forces the API to fetch stateful entities according to the rule given for the next API call only.