Class LazyTypedGuard<V,T>

java.lang.Object
io.smallrye.faulttolerance.apiimpl.LazyTypedGuard<V,T>
All Implemented Interfaces:
io.smallrye.faulttolerance.api.TypedGuard<T>

public final class LazyTypedGuard<V,T> extends Object implements io.smallrye.faulttolerance.api.TypedGuard<T>
  • Method Details

    • call

      public T call(Callable<T> action) throws Exception
      Specified by:
      call in interface io.smallrye.faulttolerance.api.TypedGuard<V>
      Throws:
      Exception
    • get

      public T get(Supplier<T> action)
      Specified by:
      get in interface io.smallrye.faulttolerance.api.TypedGuard<V>
    • instance

      public TypedGuardImpl<V,T> instance(String identifier)