Interface ITimeoutAwareJourneyElement

  • All Known Implementing Classes:
    Journey, JourneyStage

    public interface ITimeoutAwareJourneyElement
    Journey element that has timeout configuration.
    Since:
    12.2.0
    Version:
    $Revision: 23535 $ $Date: 2020-01-14 13:18:39 -0300 (Tue, 14 Jan 2020) $
    • Method Detail

      • getTimeoutUnit

        java.util.concurrent.TimeUnit getTimeoutUnit()
        Returns the timeoutUnit.
        Returns:
        the timeoutUnit
        Since:
        12.2.0
      • setTimeoutUnit

        void setTimeoutUnit​(java.util.concurrent.TimeUnit timeoutUnit)
        Sets the timeoutUnit.
        Parameters:
        timeoutUnit - the timeoutUnit value to set.
        Since:
        12.2.0
      • getTimeoutAmount

        int getTimeoutAmount()
        Returns the timeoutAmount.
        Returns:
        the timeoutAmount
        Since:
        12.2.0
      • setTimeoutAmount

        void setTimeoutAmount​(int timeoutAmount)
        Sets the timeoutAmount.
        Parameters:
        timeoutAmount - the timeoutAmount value to set.
        Since:
        12.2.0
      • getTimeoutMillis

        default long getTimeoutMillis()
        Returns the timeout amount in milliseconds.
        Returns:
        the timeout amount in milliseconds.
        Since:
        12.2.0