Class: Velocity::Instance::Scheduler
- Defined in:
- lib/acceleration/velocity.rb
Overview
Scheduler models an instance’s scheduler service. It can start and stop the service, as well as retrieve its status and list jobs.
The scheduler configuration can be only modified by updating the scheduler node in the repository.
TODO: implement
Instance Attribute Summary
Attributes inherited from APIModel
Instance Method Summary collapse
-
#initialize ⇒ Scheduler
constructor
Create a new wrapper for the scheduler functions.
-
#prefix ⇒ Object
The Scheduler prefix is simply
scheduler
.
Methods inherited from APIModel
#method_missing, #resolve, #respond_to_missing?
Constructor Details
#initialize ⇒ Scheduler
Create a new wrapper for the scheduler functions.
603 604 605 |
# File 'lib/acceleration/velocity.rb', line 603 def initialize raise NotImplementedError end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Velocity::Instance::APIModel
Instance Method Details
#prefix ⇒ Object
The Scheduler prefix is simply scheduler
.
598 599 600 |
# File 'lib/acceleration/velocity.rb', line 598 def prefix 'scheduler' end |