Interface Timeout

All Superinterfaces:
FtHandler

public interface Timeout extends FtHandler
Timeout attempts to terminate execution after a duration time passes. In such a case, the consumer of this handler receives a Single or Multi with a TimeoutException.
  • Method Details

    • builder

      static Timeout.Builder builder()
      A builder to create a customized Timeout.
      Returns:
      a new builder
    • create

      static Timeout create(Duration timeout)
      Create a Timeout with specified timeout.
      Parameters:
      timeout - duration of the timeout of operations handled by the new Timeout instance
      Returns:
      a new timeout