Class ExtensionValuesStore.MemoizingSupplier
- java.lang.Object
-
- org.junit.jupiter.engine.execution.ExtensionValuesStore.MemoizingSupplier
-
- All Implemented Interfaces:
java.util.function.Supplier<java.lang.Object>
- Enclosing class:
- ExtensionValuesStore
private static class ExtensionValuesStore.MemoizingSupplier extends java.lang.Object implements java.util.function.Supplier<java.lang.Object>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ExtensionValuesStore.MemoizingSupplier.Failure
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Supplier<java.lang.Object>
delegate
private java.util.concurrent.locks.Lock
lock
private static java.lang.Object
NO_VALUE_SET
private java.lang.Object
value
-
Constructor Summary
Constructors Modifier Constructor Description private
MemoizingSupplier(java.util.function.Supplier<java.lang.Object> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
computeValue()
java.lang.Object
get()
-