Uses of Interface
one.microstream.reference.Lazy.ClearingEvaluator
Package | Description |
---|---|
one.microstream.reference |
-
Uses of Lazy.ClearingEvaluator in one.microstream.reference
Classes in one.microstream.reference that implement Lazy.ClearingEvaluator Modifier and Type Class Description static class
Lazy.Checker.Default
This implementation uses two dimensions to evaluate if a lazy reference will be cleared:
- time: a ref's "age" in terms ofLazy.lastTouched()
compared toSystem.currentTimeMillis()
- memory: the amount of used memory compared to the permitted quota of total available memory.Methods in one.microstream.reference with parameters of type Lazy.ClearingEvaluator Modifier and Type Method Description boolean
ControlledLazyReference.Default. clear(Lazy.ClearingEvaluator clearingEvaluator)
boolean
Lazy. clear(Lazy.ClearingEvaluator clearingEvaluator)
Clears the reference if theclearingEvaluator
decides to, leaving the option to re-load it again intact, and returns the subject that was referenced prior to clearing.boolean
Lazy.Default. clear(Lazy.ClearingEvaluator clearingEvaluator)