org.eclipse.incquery.runtime.evm.api

## Class Scheduler

- java.lang.Object
- - org.eclipse.incquery.runtime.evm.api.Scheduler

- Direct Known Subclasses:
    TimedScheduler, UpdateCompleteBasedScheduler

      public abstract class Scheduler
      extends java.lang.Object

  The scheduler is used to define when the executor of a schema should start its execution strategy.
  Author:
    Abel Hegedus

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `Scheduler.ISchedulerFactory` Factory interface for preparing a scheduler for a given executor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dispose()` Disposes of the scheduler by disposing its executor.
    `Executor` | `getExecutor()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getExecutor

          public Executor getExecutor()

      Returns:
        the executor

    - #### dispose

          public void dispose()

      Disposes of the scheduler by disposing its executor.