Package graphql.util
Class InterThreadMemoizedSupplier<T>
- java.lang.Object
-
- graphql.util.InterThreadMemoizedSupplier<T>
-
- Type Parameters:
T
- for two
- All Implemented Interfaces:
java.util.function.Supplier<T>
public class InterThreadMemoizedSupplier<T> extends java.lang.Object implements java.util.function.Supplier<T>
This memoizing supplier DOES use locked double locking to set its value.
-
-
Constructor Summary
Constructors Constructor Description InterThreadMemoizedSupplier(java.util.function.Supplier<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
-