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 Detail

      • 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