org.isam.exehda.services.tips
Class TipsNodeScheduler

java.lang.Object
  |
  +--org.isam.exehda.services.AbstractService
        |
        +--org.isam.exehda.services.tips.TipsNodeScheduler
All Implemented Interfaces:
Scheduler, Service

public class TipsNodeScheduler
extends AbstractService
implements Scheduler


Nested Class Summary
 
Nested classes inherited from class org.isam.exehda.services.Scheduler
Scheduler.CompositeIndex, Scheduler.DistanceToAnchorIndex, Scheduler.IndexEqualsConstraint, Scheduler.IndexValueInRangeConstraint, Scheduler.IndexValueInSetConstraint, Scheduler.MappedIndex, Scheduler.MaximizeIndexConstraint, Scheduler.MinimizeIndexConstraint, Scheduler.MobilityConstraint, Scheduler.RelationalConstraint, Scheduler.SchedConstraint, Scheduler.SchedIndex, Scheduler.SensorIndex
 
Field Summary
(package private) static java.lang.String PROP_SCHEDULER_URI
           
 
Fields inherited from interface org.isam.exehda.services.Scheduler
SERVICE_NAME
 
Constructor Summary
TipsNodeScheduler()
           
 
Method Summary
 HostId chooseCreationHost(ResourceBroker.ResourceConstraint c)
          Describe chooseCreationHost method here.
 HostId chooseMigrationHost(ResourceBroker.ResourceConstraint c)
          Describe chooseMigrationHost method here.
 void reschedule(ObjectId o, ResourceBroker.ResourceConstraint c, boolean auto)
          Describe reschedule method here.
 void start()
           
 void stop()
           
 
Methods inherited from class org.isam.exehda.services.AbstractService
log, log, log, log, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SCHEDULER_URI

static final java.lang.String PROP_SCHEDULER_URI
See Also:
Constant Field Values
Constructor Detail

TipsNodeScheduler

public TipsNodeScheduler()
Method Detail

chooseCreationHost

public HostId chooseCreationHost(ResourceBroker.ResourceConstraint c)
Describe chooseCreationHost method here.

Specified by:
chooseCreationHost in interface Scheduler
Parameters:
c - a ResourceConstraints value
Returns:
a HostId value

chooseMigrationHost

public HostId chooseMigrationHost(ResourceBroker.ResourceConstraint c)
Describe chooseMigrationHost method here.

Specified by:
chooseMigrationHost in interface Scheduler
Parameters:
c - a ResourceConstraints value
Returns:
a HostId value

reschedule

public void reschedule(ObjectId o,
                       ResourceBroker.ResourceConstraint c,
                       boolean auto)
Describe reschedule method here.

Specified by:
reschedule in interface Scheduler
Parameters:
o - an ObjectHandle value
c - a ResourceConstraints value
auto - a boolean value

stop

public void stop()
Specified by:
stop in interface Service

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface Service
java.lang.Exception