Package | Description |
---|---|
org.btrplace.model |
Core package of btrplace that allow to describe a data centre model that is composed of
a consistent view of an infrastructure, and some constraint that should be satisfied
|
org.btrplace.model.constraint |
Concrete implementation of
SatConstraint . |
org.btrplace.plan |
Basic API to specify a
ReconfigurationPlan . |
org.btrplace.plan.event |
Concrete implementation of actions composing a
ReconfigurationPlan . |
org.btrplace.scheduler |
API to define a
Scheduler . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultModel
Default implementation for a
Model . |
class |
SubModel
Define a model that is a sub-model of a bigger one.
|
Modifier and Type | Method and Description |
---|---|
Model |
DefaultModel.clone() |
Model |
Model.clone()
Clone a model.
|
Model |
SubModel.clone()
Clone this model using a
DefaultModel . |
Model |
Instance.getModel()
Get the model.
|
Constructor and Description |
---|
Instance(Model m,
Collection<SatConstraint> cs,
OptConstraint o)
Make a new instance.
|
Instance(Model m,
OptConstraint o)
Make a new instance.
|
SubModel(Model p,
ElementBuilder b,
Collection<Node> ns)
Make a new sub-model with an empty scope for ready VMs.
|
SubModel(Model p,
ElementBuilder b,
Collection<Node> nodeScope,
Set<VM> vmReady)
Make a new sub-model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AllowAllConstraintChecker.endsWith(Model mo) |
boolean |
AmongChecker.endsWith(Model i) |
boolean |
BanChecker.endsWith(Model mo) |
boolean |
FenceChecker.endsWith(Model mo) |
boolean |
GatherChecker.endsWith(Model mo) |
boolean |
KilledChecker.endsWith(Model mo) |
boolean |
LonelyChecker.endsWith(Model mo) |
boolean |
MaxOnlineChecker.endsWith(Model mo) |
boolean |
OfflineChecker.endsWith(Model mo) |
boolean |
OnlineChecker.endsWith(Model mo) |
boolean |
OverbookChecker.endsWith(Model i) |
boolean |
PreserveChecker.endsWith(Model mo) |
boolean |
QuarantineChecker.endsWith(Model mo) |
boolean |
ReadyChecker.endsWith(Model mo) |
boolean |
ResourceCapacityChecker.endsWith(Model i) |
boolean |
RunningCapacityChecker.endsWith(Model mo) |
boolean |
RunningChecker.endsWith(Model mo) |
boolean |
SatConstraintChecker.endsWith(Model mo)
Notify for the model that is reached once the reconfiguration has been applied.
|
boolean |
SleepingChecker.endsWith(Model mo) |
boolean |
SplitAmongChecker.endsWith(Model i) |
boolean |
SplitChecker.endsWith(Model mo) |
boolean |
SpreadChecker.endsWith(Model mo) |
boolean |
SatConstraint.isSatisfied(Model i)
Check if a model satisfies the constraint.
|
boolean |
AllowAllConstraintChecker.startsWith(Model mo) |
boolean |
AmongChecker.startsWith(Model mo) |
boolean |
GatherChecker.startsWith(Model mo) |
boolean |
LonelyChecker.startsWith(Model mo) |
boolean |
MaxOnlineChecker.startsWith(Model mo) |
boolean |
PreserveChecker.startsWith(Model mo) |
boolean |
QuarantineChecker.startsWith(Model mo) |
boolean |
ResourceCapacityChecker.startsWith(Model mo) |
boolean |
RunningCapacityChecker.startsWith(Model mo) |
boolean |
SatConstraintChecker.startsWith(Model mo)
Notify for the model at the source of the reconfiguration.
|
boolean |
SeqChecker.startsWith(Model mo) |
boolean |
SplitAmongChecker.startsWith(Model mo) |
boolean |
SplitChecker.startsWith(Model mo) |
boolean |
SpreadChecker.startsWith(Model mo) |
Modifier and Type | Method and Description |
---|---|
Model |
DependencyBasedPlanApplier.apply(ReconfigurationPlan p) |
Model |
ReconfigurationPlanApplier.apply(ReconfigurationPlan p)
Apply a plan.
|
Model |
TimeBasedPlanApplier.apply(ReconfigurationPlan p) |
Model |
DefaultReconfigurationPlanMonitor.getCurrentModel() |
Model |
ReconfigurationPlanMonitor.getCurrentModel()
Get the current model.
|
Model |
ReconfigurationPlanCheckerException.getModel()
Get the model that provoked the violation.
|
Model |
DefaultReconfigurationPlan.getOrigin() |
Model |
ReconfigurationPlan.getOrigin()
Get the model that is used as a starting point
to perform the reconfiguration.
|
Model |
DefaultReconfigurationPlan.getResult() |
Model |
ReconfigurationPlan.getResult()
Get the resulting model once all the actions are executed.
|
Constructor and Description |
---|
DefaultReconfigurationPlan(Model m)
Make a new plan that starts from a given model.
|
DependenciesExtractor(Model o)
Make a new instance.
|
ReconfigurationPlanCheckerException(SatConstraint c,
Model model,
boolean o)
Declare a violation caused by a model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Action.apply(Model i)
Apply the action on a model.
|
boolean |
AllocateEvent.apply(Model i) |
boolean |
Event.apply(Model m)
Apply the event on a given model.
|
boolean |
SubstitutedVMEvent.apply(Model m) |
abstract boolean |
Action.applyAction(Model i)
Apply only the scheduled action.
|
boolean |
Allocate.applyAction(Model i) |
boolean |
BootNode.applyAction(Model c)
Put the node online on the model.
|
boolean |
BootVM.applyAction(Model c) |
boolean |
ForgeVM.applyAction(Model m)
Put the VM in the ready state iff
it does not already belong to the mapping.
|
boolean |
KillVM.applyAction(Model i) |
boolean |
MigrateVM.applyAction(Model i)
Make the VM running on the destination node
in the given model.
|
boolean |
ResumeVM.applyAction(Model m) |
boolean |
ShutdownNode.applyAction(Model c)
Put the node offline on a model
|
boolean |
ShutdownVM.applyAction(Model m)
Apply the action by removing the virtual machine from the model.
|
boolean |
SuspendVM.applyAction(Model m)
Apply the action by putting the VM
into the sleeping state on its destination node in a given model
|
boolean |
Action.applyEvents(Action.Hook k,
Model i)
Apply the events attached to a given hook.
|
Modifier and Type | Method and Description |
---|---|
Model |
SchedulerException.getModel()
Get the model at the source of the exception.
|
Modifier and Type | Method and Description |
---|---|
ReconfigurationPlan |
Scheduler.solve(Model i,
Collection<SatConstraint> cstrs,
OptConstraint obj)
Compute a reconfiguration plan to reach a solution to the model
|
Constructor and Description |
---|
SchedulerException(Model m,
String msg)
Make a new exception.
|
SchedulerException(Model m,
String msg,
Throwable t)
Make a new exception.
|
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.