Uses of Interface
org.btrplace.model.constraint.Constraint
Package | Description |
---|---|
org.btrplace.json.model.constraint |
Converters for the constraints.
|
org.btrplace.model.constraint |
Concrete implementation of
SatConstraint . |
org.btrplace.model.constraint.migration |
Constraints related to migration management.
|
org.btrplace.safeplace.testing.verification.btrplace | |
org.btrplace.scheduler.choco.constraint |
Choco implementation of the model constraints.
|
org.btrplace.scheduler.runner.disjoint.splitter |
Implementation of various
ConstraintSplitter . |
-
Uses of Constraint in org.btrplace.json.model.constraint
Classes in org.btrplace.json.model.constraint with type parameters of type Constraint Modifier and Type Interface Description interface
ConstraintConverter<E extends Constraint>
Specify a JSON converter for aConstraint
.Methods in org.btrplace.json.model.constraint that return Constraint Modifier and Type Method Description Constraint
ConstraintsConverter. fromJSON(Model mo, net.minidev.json.JSONObject in)
Convert a json-encoded constraint.Methods in org.btrplace.json.model.constraint that return types with arguments of type Constraint Modifier and Type Method Description Set<Class<? extends Constraint>>
ConstraintsConverter. getSupportedJavaConstraints()
Get the Java constraints that are supported by the converter.Methods in org.btrplace.json.model.constraint with parameters of type Constraint Modifier and Type Method Description net.minidev.json.JSONObject
ConstraintsConverter. toJSON(Constraint o)
Serialise a constraint.Method parameters in org.btrplace.json.model.constraint with type arguments of type Constraint Modifier and Type Method Description void
ConstraintsConverter. register(ConstraintConverter<? extends Constraint> c)
Register a converter for a specific constraint. -
Uses of Constraint in org.btrplace.model.constraint
Subinterfaces of Constraint in org.btrplace.model.constraint Modifier and Type Interface Description interface
SatConstraint
Abstract class to characterize a satisfaction-oriented constraint that impose a restriction on some components of a model.Classes in org.btrplace.model.constraint that implement Constraint Modifier and Type Class Description class
Among
A constraint to force a set of VMs to be hosted on a single group of nodes among those available.class
Ban
A constraint to disallow the given VM, when running, to be hosted on a given set of nodes.class
Fence
A constraint to force the given VM, when running, to be hosted on a given group of nodes.class
Gather
A constraint to force a set of VMs, if running, to be hosted on the same node.class
Killed
A constraint to force a VM to be killed.class
Lonely
A constraint to force all the given VMs, when running, to not share their host with other VMs.class
MaxOnline
A constraint to force a set of nodes to have a maximum number of nodes to be online.class
MinMigrations
An objective that just minimizes the cumulative duration of the migrations to perform during a reconfiguration.class
MinMTTR
An optimization constraint that minimizes the time to repair a non-viable model.class
NoDelay
A constraint to force VMs' actions to be executed at the beginning (time t=0), without any delay.class
Offline
A constraint to force a node at being offline.class
Online
A constraint to force a node at being online.class
OptConstraint
Optimization oriented constraint.class
Overbook
A constraint to specify and overbooking factor between the physical resources offered by a node and the virtual resources that are consumed by the VMs it hosts.class
Preserve
Ensure the allocation of a given minimum amount of resources for the given VM.class
Quarantine
A constraint to put a node into quarantine.class
Ready
A constraint to force a VM at being ready for running.class
ResourceCapacity
Restrict the total amount of virtual resources consumed by the VMs hosted on the given nodes.class
Root
A constraint to avoid VM relocation to another host.class
Running
A constraint to force a VM at being running.class
RunningCapacity
Restrict to a given value, the total amount of VMs running on the given set of nodes.class
Seq
A constraint to force the actions that change the given VMs state to be executed in the given order.class
SimpleConstraint
A skeleton for a constraint that can be either discrete or continuous.class
Sleeping
A constraint to force a VM at being sleeping.class
Split
A constraint to force several sets of VMs to not share any node when they are running.class
SplitAmong
A constraint to force sets of running VMs to be hosted on distinct set of nodes.class
Spread
A constraint to force that the given VMs, if running, to be hosted on distinct nodes. -
Uses of Constraint in org.btrplace.model.constraint.migration
Classes in org.btrplace.model.constraint.migration that implement Constraint Modifier and Type Class Description class
Deadline
A constraint to force the maximum end time of a migration by an absolute or relative deadline in the form of a timestamp.class
MinMTTRMig
An optimization constraint that minimizes the time to repair a non-viable model involving a set of migrations.class
Precedence
A constraint to force one or more VMs to migrate before one or more other VMs.class
Serialize
A constraint to ensure no overlapping between a set of migrations.class
Sync
A constraint to force some vms migration to terminate or begin (depending of the migration algorithm) at the same time. -
Uses of Constraint in org.btrplace.safeplace.testing.verification.btrplace
Classes in org.btrplace.safeplace.testing.verification.btrplace that implement Constraint Modifier and Type Class Description class
Schedule
-
Uses of Constraint in org.btrplace.scheduler.choco.constraint
Methods in org.btrplace.scheduler.choco.constraint with parameters of type Constraint Modifier and Type Method Description ChocoConstraint
ChocoMapper. get(Constraint c)
Get the implementation of the givenConstraint
.Method parameters in org.btrplace.scheduler.choco.constraint with type arguments of type Constraint Modifier and Type Method Description boolean
ChocoMapper. constraintHasMapping(Class<? extends Constraint> c)
Check if a given mapping exists.void
ChocoMapper. mapConstraint(Class<? extends Constraint> c, Class<? extends ChocoConstraint> cc)
Register a mapping between an api-side constraint and its choco implementation.boolean
ChocoMapper. unMapConstraint(Class<? extends Constraint> c)
Remove the mapping associated to a givenConstraint
. -
Uses of Constraint in org.btrplace.scheduler.runner.disjoint.splitter
Classes in org.btrplace.scheduler.runner.disjoint.splitter with type parameters of type Constraint Modifier and Type Interface Description interface
ConstraintSplitter<C extends Constraint>
Interface to specify a method that makes a constraint compatible with multiple partitions.Methods in org.btrplace.scheduler.runner.disjoint.splitter that return types with arguments of type Constraint Modifier and Type Method Description ConstraintSplitter<? extends Constraint>
ConstraintSplitterMapper. getSplitter(Class<? extends Constraint> c)
Get the splitter associated to aConstraint
.Methods in org.btrplace.scheduler.runner.disjoint.splitter with parameters of type Constraint Modifier and Type Method Description boolean
ConstraintSplitterMapper. split(Constraint c, Instance i, List<Instance> partitions, gnu.trove.map.hash.TIntIntHashMap vmPartition, gnu.trove.map.hash.TIntIntHashMap nodePosition)
Split a givenConstraint
using the associated splitter, if exists.Method parameters in org.btrplace.scheduler.runner.disjoint.splitter with type arguments of type Constraint Modifier and Type Method Description ConstraintSplitter<? extends Constraint>
ConstraintSplitterMapper. getSplitter(Class<? extends Constraint> c)
Get the splitter associated to aConstraint
.boolean
ConstraintSplitterMapper. isRegistered(Class<? extends Constraint> c)
Check if aConstraintSplitter
is registered for a givenConstraint
.boolean
ConstraintSplitterMapper. register(ConstraintSplitter<? extends Constraint> ccb)
Register a splitter.boolean
ConstraintSplitterMapper. unRegister(Class<? extends Constraint> c)
Un-register the splitter associated to a givenConstraint
if exists.