Package one.microstream.reference
Interface ControlledLazyReference<T>
- Type Parameters:
T
- type of the lazy loaded object
- All Superinterfaces:
Lazy<T>
,Referencing<T>
- All Known Implementing Classes:
ControlledLazyReference.Default
public interface ControlledLazyReference<T> extends Lazy<T>
An extension of the
Lazy
interface that is intended to intercept
calls to the clear method of the lazy reference and deny unloading the lazy data if required.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ControlledLazyReference.Default<T>
This implementation of theControlledLazyReference
lets aLazyClearController
decide if the lazy reference can be cleared.Nested classes/interfaces inherited from interface one.microstream.reference.Lazy
Lazy.Check, Lazy.Checker, Lazy.ClearingEvaluator
-
Method Summary
Modifier and Type Method Description void
setLazyClearController(LazyClearController lazyClearController)