Class Instance.SingletonInstance<T>

java.lang.Object
io.helidon.microprofile.grpc.core.Instance.SingletonInstance<T>
Type Parameters:
T - the type of instance supplied
All Implemented Interfaces:
Supplier<T>
Enclosing interface:
Instance

public static class Instance.SingletonInstance<T> extends Object implements Supplier<T>
A Supplier implementation that supplies the same singleton instance of a value each time its get() method is called.
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface Supplier<T>