Class InstanceSupplier.SingletonInstance<T>

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

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

    • get

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