Class ExtensionValuesStore.MemoizingSupplier

java.lang.Object
org.junit.jupiter.engine.execution.ExtensionValuesStore.MemoizingSupplier
All Implemented Interfaces:
Supplier<Object>
Enclosing class:
ExtensionValuesStore

private static class ExtensionValuesStore.MemoizingSupplier extends Object implements Supplier<Object>
  • Field Details

    • NO_VALUE_SET

      private static final Object NO_VALUE_SET
    • lock

      private final Lock lock
    • delegate

      private final Supplier<Object> delegate
    • value

      private volatile Object value
  • Constructor Details

    • MemoizingSupplier

      private MemoizingSupplier(Supplier<Object> delegate)
  • Method Details

    • get

      public Object get()
      Specified by:
      get in interface Supplier<Object>
    • computeValue

      private void computeValue()