Package one.microstream.reference
Interface LazyReferencing<T>
-
- All Superinterfaces:
Referencing<T>
- All Known Implementing Classes:
Lazy
public interface LazyReferencing<T> extends Referencing<T>
-
-
Method Detail
-
get
T get()
Returns the referenced object, loading it if required.- Specified by:
get
in interfaceReferencing<T>
- Returns:
- the lazily loaded referenced object.
-
peek
T peek()
Returns the local reference without loading the referenced object if it is not present.- Returns:
- the currently present reference.
-
-