Class: Dcmgr::Scheduler::HostNodeScheduler
- Inherits:
-
Object
- Object
- Dcmgr::Scheduler::HostNodeScheduler
- Defined in:
- lib/dcmgr/scheduler.rb
Overview
Allocate HostNode to Instance object.
Direct Known Subclasses
Dcmgr::Scheduler::HostNode::ExcludeSame, Dcmgr::Scheduler::HostNode::FindFirst, Dcmgr::Scheduler::HostNode::LeastUsage, Dcmgr::Scheduler::HostNode::PerInstance, Dcmgr::Scheduler::HostNode::SpecifyNode
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ HostNodeScheduler
constructor
A new instance of HostNodeScheduler.
-
#schedule(instance) ⇒ Object
Models::HostNode.
Constructor Details
#initialize(options = nil) ⇒ HostNodeScheduler
Returns a new instance of HostNodeScheduler.
73 74 75 |
# File 'lib/dcmgr/scheduler.rb', line 73 def initialize(=nil) @options = end |
Instance Method Details
#schedule(instance) ⇒ Object
Returns Models::HostNode.
79 80 81 |
# File 'lib/dcmgr/scheduler.rb', line 79 def schedule(instance) raise NotImplementedError end |