Package graphql.util

Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InterThreadMemoizedSupplier

        public InterThreadMemoizedSupplier​(java.util.function.Supplier<T> delegate)
    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface java.util.function.Supplier<T>