Interface ResultsProtocol.ReaderRole

All Known Subinterfaces:
ResultsProtocol.OwnerRole
All Known Implementing Classes:
PostgresResultsCellRepository.PostgresResultsCell
Enclosing class:
ResultsProtocol

public static interface ResultsProtocol.ReaderRole
observer for a schedule result
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cancel the interest in the result of the scheduling run it is illegal to call get() after a cancel() call
    get()
    retrieve the current status of the scheduling run, including if it is still in progress the scheduling run must not have been previously cancel()ed
  • Method Details

    • get

      retrieve the current status of the scheduling run, including if it is still in progress the scheduling run must not have been previously cancel()ed
      Returns:
      the status of the scheduling run
    • cancel

      void cancel()
      cancel the interest in the result of the scheduling run it is illegal to call get() after a cancel() call