Interface OScheduler

All Known Implementing Classes:
OSchedulerProxy

public interface OScheduler
Scheduler interface. <<<<<<< HEAD
Since:
Mar 28, 2013
Author:
Luca Garulli (l.garulli--(at)--orientdb.com) =======, Luca Garulli >>>>>>> 1b627a8... HA: fixed issues with distributed scheduler events, henryzhao81-at-gmail.com
  • Method Details

    • scheduleEvent

      void scheduleEvent(OScheduledEvent event)
      Creates a new scheduled event.
    • removeEvent

      void removeEvent(String eventName)
      Removes a scheduled event.
      Parameters:
      eventName - Event's name
    • updateEvent

      void updateEvent(OScheduledEvent event)
      Updates a scheduled event.
    • getEvents

      Map<String,OScheduledEvent> getEvents()
      Returns all the scheduled events.
      Returns:
    • getEvent

      OScheduledEvent getEvent(String eventName)
      Returns a scheduled event by name.
      Parameters:
      eventName - Event's name
    • load

      @Deprecated void load()
      Deprecated.
      Loads the scheduled events from database in memory and schedule them.
    • close

      @Deprecated void close()
      Deprecated.
      Shuts down the scheduler.
    • create

      @Deprecated void create()
      Deprecated.
      Creates the scheduler classes on database.