Uses of Class
org.ddolib.ddo.core.cache.Threshold
Packages that use Threshold
Package
Description
This package contains the implementations of cache mechanism.
-
Uses of Threshold in org.ddolib.ddo.core.cache
Methods in org.ddolib.ddo.core.cache that return types with arguments of type ThresholdModifier and TypeMethodDescriptionRetrieves the threshold for a given state in a thread-safe manner.Cache.getThreshold(T state, int depth) Retrieves the threshold currently associated with a given state and depth.SimpleCache.getThreshold(T state, int depth) Retrieves the threshold associated with a given state at a specific depth.Methods in org.ddolib.ddo.core.cache with parameters of type ThresholdModifier and TypeMethodDescriptionintCompares this threshold to another threshold.voidUpdates the threshold for a state if the new threshold is greater than the current.voidCache.updateThreshold(T state, int depth, Threshold threshold) Updates the threshold associated with a given state at a given depth.voidSimpleCache.updateThreshold(T state, int depth, Threshold threshold) Updates the threshold for a given state at a specified depth.