Class HealthCheckTimeoutExecutionOptions


  • public class HealthCheckTimeoutExecutionOptions
    extends HealthCheckExecutionOptions
    Execution Options for the Microprofile Healthcheck checker. This contains the timeout for getting the healthcheck from the remote endpoint
    Since:
    5.184
    Author:
    jonathan coustick
    • Constructor Detail

      • HealthCheckTimeoutExecutionOptions

        public HealthCheckTimeoutExecutionOptions​(boolean enabled,
                                                  long time,
                                                  TimeUnit unit,
                                                  boolean addToMicroProfileHealth,
                                                  long timeout)
    • Method Detail

      • getTimeout

        public long getTimeout()
        The timeout for getting a response from the remove server
        Returns:
        The connection timeout in milliseconds