org.isam.exehda.services.tips
Class TipsCellScheduler
java.lang.Object
|
+--org.isam.exehda.services.AbstractService
|
+--org.isam.exehda.services.tips.TipsCellScheduler
- All Implemented Interfaces:
- CollectUtility, Scheduler, Service
- public class TipsCellScheduler
- extends AbstractService
- implements Scheduler, CollectUtility
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TipsCellScheduler
public TipsCellScheduler()
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
valuec
- a ResourceConstraints
valueauto
- a boolean
value
stop
public void stop()
- Specified by:
stop
in interface Service
start
public void start()
throws java.rmi.RemoteException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
- Specified by:
start
in interface Service
java.rmi.RemoteException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
updateUtility
public void updateUtility(long timeStamp,
HostId src,
double utility)
- Specified by:
updateUtility
in interface CollectUtility
getBestHostid
public HostId getBestHostid()