Class FaultToleranceServiceImpl

    • Constructor Detail

      • FaultToleranceServiceImpl

        public FaultToleranceServiceImpl()
    • Method Detail

      • postConstruct

        @PostConstruct
        public void postConstruct()
      • collect

        public void collect​(fish.payara.monitoring.collect.MonitoringDataCollector collector)
        Specified by:
        collect in interface fish.payara.monitoring.collect.MonitoringDataSource
      • getMethodContext

        public FaultToleranceMethodContext getMethodContext​(jakarta.interceptor.InvocationContext context,
                                                            FaultTolerancePolicy policy,
                                                            jakarta.enterprise.context.control.RequestContextController requestContextController)
        Description copied from interface: FaultToleranceService
        Get or create the context object for processing the annotated method represented by the given InvocationContext.
        Specified by:
        getMethodContext in interface FaultToleranceService
        Parameters:
        context - represents the FT annotated method being called
        policy - the policy being used for this execution
        requestContextController - the controller to use or null
        Returns:
        the FaultToleranceMethodContext to use to process the method invocation with FT semantics. This is a context specific to the target object and called method.