Class ControlledLazyReference.Default<T>

java.lang.Object
one.microstream.reference.Lazy.Default<T>
one.microstream.reference.ControlledLazyReference.Default<T>
Type Parameters:
T - type parameter
All Implemented Interfaces:
ControlledLazyReference<T>, Lazy<T>, Referencing<T>
Enclosing interface:
ControlledLazyReference<T>

public static final class ControlledLazyReference.Default<T>
extends Lazy.Default<T>
implements ControlledLazyReference<T>
This implementation of the ControlledLazyReference lets a LazyClearController decide if the lazy reference can be cleared.
  • Constructor Details

    • Default

      public Default​(T subject, LazyClearController lazyClearController)
      Standard constructor used by normal logic to instantiate a reference.
      Parameters:
      subject - the subject to be referenced.
      lazyClearController - the lazy reference clear controller.
  • Method Details