Class PauseResult<T>

  • Type Parameters:
    T - information that can be used to resume the paused operation; can be null if the pause failed.

    public final class PauseResult<T>
    extends Object
    The result of a pause operation.
    • Constructor Detail

      • PauseResult

        public PauseResult​(PauseStatus pauseStatus,
                           T infoToResume)
      • PauseResult

        public PauseResult​(PauseStatus pauseStatus)
    • Method Detail

      • getPauseStatus

        public PauseStatus getPauseStatus()
        Returns information about whether the pause was successful or not; and if not why.
      • getInfoToResume

        public T getInfoToResume()
        Returns the information that can be used to resume a successfully paused operation.