Abstract class which defines all the available functionality. Some methods are concrete, since they have a default action only executed if not overriden.
Indicates the delay (in seconds) to wait before executing the onSetup() function. By default it returns 0
Returns: The delay value in seconds Return type: int
Indicates whether the manager has reloading funcionality using an integer, which represent the periodical reload time. By default it returns 0.
Returns: The number of seconds between reloadings. Return type: int
Returns a boolean that indicates whether the unit must be enabled or not. By default it enabled.
Actions to be executed only during startup. The code is run asynchronously in a different thread than the main code, so it is safe to execute blocking actions without blocking the whole IOLoop. The method is called immediately after the daemon is started or when the specified delay is passed.
Important: Due to the nature of the Tornado IOLoop, the @run_on_executor decorator must be used in this function