Package one.microstream.reference
Class LazyReferenceManager.Default
java.lang.Object
one.microstream.reference.LazyReferenceManager.Default
- All Implemented Interfaces:
LazyReferenceManager
- Enclosing interface:
- LazyReferenceManager
public static final class LazyReferenceManager.Default extends Object implements LazyReferenceManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.reference.LazyReferenceManager
LazyReferenceManager.Clearer, LazyReferenceManager.Controller, LazyReferenceManager.CycleEvaluator, LazyReferenceManager.Default, LazyReferenceManager.Static
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description LazyReferenceManager
addController(LazyReferenceManager.Controller controller)
void
cleanUp(long nanoTimeBudget)
void
cleanUp(long nanoTimeBudget, Lazy.Checker checker)
void
clear()
void
DEBUG_printLoadCount(String label)
boolean
isRunning()
<P extends Consumer<? super Lazy<?>>>
Piterate(P iterator)
<P extends Consumer<? super LazyReferenceManager.Controller>>
PiterateControllers(P iterator)
void
register(Lazy<?> lazyReference)
LazyReferenceManager
registerAll(LazyReferenceManager other)
boolean
removeController(LazyReferenceManager.Controller controller)
LazyReferenceManager
start()
LazyReferenceManager
stop()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
DEBUG_printLoadCount
-
register
- Specified by:
register
in interfaceLazyReferenceManager
-
registerAll
- Specified by:
registerAll
in interfaceLazyReferenceManager
-
clear
public void clear()- Specified by:
clear
in interfaceLazyReferenceManager
-
cleanUp
public void cleanUp(long nanoTimeBudget)- Specified by:
cleanUp
in interfaceLazyReferenceManager
-
cleanUp
- Specified by:
cleanUp
in interfaceLazyReferenceManager
-
isRunning
public final boolean isRunning()- Specified by:
isRunning
in interfaceLazyReferenceManager
-
start
- Specified by:
start
in interfaceLazyReferenceManager
-
stop
- Specified by:
stop
in interfaceLazyReferenceManager
-
addController
- Specified by:
addController
in interfaceLazyReferenceManager
-
removeController
- Specified by:
removeController
in interfaceLazyReferenceManager
-
iterateControllers
public <P extends Consumer<? super LazyReferenceManager.Controller>> P iterateControllers(P iterator)- Specified by:
iterateControllers
in interfaceLazyReferenceManager
-
iterate
- Specified by:
iterate
in interfaceLazyReferenceManager
-