Package org.btrplace.model.constraint
Class NoDelayChecker
java.lang.Object
org.btrplace.model.constraint.AllowAllConstraintChecker<NoDelay>
org.btrplace.model.constraint.NoDelayChecker
- All Implemented Interfaces:
SatConstraintChecker<NoDelay>
public class NoDelayChecker extends AllowAllConstraintChecker<NoDelay>
Checker for the
NoDelay
constraint- Author:
- Vincent Kherbache
- See Also:
NoDelay
-
Constructor Summary
Constructors Constructor Description NoDelayChecker(NoDelay nd)
Make a new checker. -
Method Summary
Modifier and Type Method Description boolean
start(BootVM a)
Notify for the beginning of an action.boolean
start(ForgeVM a)
Notify for the beginning of an action.boolean
start(KillVM a)
Notify for the beginning of an action.boolean
start(MigrateVM a)
Notify for the beginning of an action.boolean
start(ResumeVM a)
Notify for the beginning of an action.boolean
start(ShutdownVM a)
Notify for the beginning of an action.boolean
start(SuspendVM a)
Notify for the beginning of an action.Methods inherited from class org.btrplace.model.constraint.AllowAllConstraintChecker
consume, consume, end, end, end, end, end, end, end, end, end, end, endRunningVMPlacement, endsWith, getConstraint, getNodes, getVMs, start, start, start, startRunningVMPlacement, startsWith, track
-
Constructor Details
-
NoDelayChecker
Make a new checker.- Parameters:
nd
- the constraint associated to the checker.
-
-
Method Details
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the executed that will be executed- Returns:
startRunningVMPlacement(a)
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the executed that will be executed- Returns:
startRunningVMPlacement(a)
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the action that will be executed- Returns:
true
iff the action execution is valid wrt. the constraint
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the action that will be executed- Returns:
true
iff the action execution is valid wrt. the constraint
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the action that will be executed- Returns:
true
iff the action execution is valid wrt. the constraint
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the action that will be executed- Returns:
true
iff the action execution is valid wrt. the constraint
-
start
Description copied from interface:SatConstraintChecker
Notify for the beginning of an action.- Specified by:
start
in interfaceSatConstraintChecker<NoDelay>
- Overrides:
start
in classAllowAllConstraintChecker<NoDelay>
- Parameters:
a
- the action that will be executed- Returns:
true
iff the action execution is valid wrt. the constraint
-