Class MicrostreamHealthCheck.Builder

    • Method Detail

      • name

        public MicrostreamHealthCheck.Builder name​(String name)
        Customized name of the health check.
        Parameters:
        name - name of the health check
        Returns:
        updated builder instance
      • timeout

        public MicrostreamHealthCheck.Builder timeout​(long duration,
                                                      TimeUnit timeUnit)
        Set custom timeout to wait for statement execution response. Default value is 10 seconds.
        Parameters:
        duration - the maximum time to wait for statement execution response
        timeUnit - the time unit of the timeout argument
        Returns:
        updated builder instance