Class CommandRetrier


  • public class CommandRetrier
    extends Object
    Class CommandRetrier.
    • Constructor Detail

      • CommandRetrier

        public CommandRetrier​(javax.interceptor.InvocationContext context,
                              io.helidon.microprofile.faulttolerance.MethodIntrospector introspector)
        Constructor.
        Parameters:
        context - The invocation context.
        introspector - The method introspector.
    • Method Detail

      • execute

        public Object execute()
                       throws Exception
        Retries running a command according to retry policy.
        Returns:
        Object returned by command.
        Throws:
        Exception - If something goes wrong.