Class NamespacedHierarchicalStore.MemoizingSupplier
java.lang.Object
org.junit.platform.engine.support.store.NamespacedHierarchicalStore.MemoizingSupplier
- Enclosing class:
NamespacedHierarchicalStore<N>
private static class NamespacedHierarchicalStore.MemoizingSupplier
extends Object
implements Supplier<Object>
Thread-safe
Supplier
that memoizes the result of calling its
delegate and ensures it is called at most once.
If the delegate throws an exception, it is stored and rethrown every
time get()
is called.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary