Interface MainStage

All Superinterfaces:
Executor, Schedule, Stage
All Known Implementing Classes:
Theater

public interface MainStage extends Stage
Stage that can be started and stopped.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Ensures that this Stage is up and running.
    void
    Ensures that this Stage has been permanently stopped.

    Methods inherited from interface swim.concurrent.Schedule

    setTimer, timer

    Methods inherited from interface swim.concurrent.Stage

    call, execute, task
  • Method Details

    • start

      void start()
      Ensures that this Stage is up and running.
      Throws:
      IllegalStateException - if this Stage has been stopped.
    • stop

      void stop()
      Ensures that this Stage has been permanently stopped.