Package org.btrplace.scheduler.choco.transition
Different classes to model the possible state transitions for a VM or a node.
The most common entry point is
TransitionFactory
that
will pick up the right model according to the initial and the next state of an element.
Once the associated ReconfigurationProblem
solved,
the associated transitions will generate Action
.- See Also:
Transition
,TransitionFactory
-
Interface Summary Interface Description KeepRunningVM An interface to specify an VM transition on a VM that is running and that will keep running.NodeTransition Interface to specify a transition that manipulates a node.Transition<E extends Enum<E>> A model skeleton for a transition.VMTransition Interface to specify a transition over a VM. -
Class Summary Class Description BootableNode Model a transition that allows an offline node to be booted if necessary.BootableNode.Builder The builder devoted to a offline -> (online|offline) transition.BootVM Model a transition that allows a ready VP to be booted on a node.BootVM.Builder The builder devoted to a ready to running transition.ForgeVM Model a transition that will forge a VM to put it into the ready state.ForgeVM.Builder The builder devoted to a init -> ready transition.KillVM An action to model a VM that is killed.KillVM.Builder The builder devoted to a (init|ready|running|sleep) > killed transition.NodeTransitionBuilder A builder to instantiate aNodeTransitionBuilder
RelocatableVM Model an action that allow a running VM to be relocate elsewhere if necessary.RelocatableVM.Builder The builder devoted to a running > running transition.ResumeVM Model an action that resume a sleeping VM.ResumeVM.Builder The builder devoted to a sleeping -> running transition.ShutdownableNode Model an action that allow a node to boot if necessary.ShutdownableNode.Builder The builder devoted to a online -> (online|offline) transition.ShutdownVM Model an action that stop a running VM.ShutdownVM.Builder The builder devoted to a running -> ready transition.StayAwayVM A fake action model that indicates the VM is ready or sleeping and does not go in the running state.StayAwayVM.BuilderInit The builder devoted to a sleeping -> sleeping transition.StayAwayVM.BuilderReady The builder devoted to a ready -> ready transition.StayAwayVM.BuilderSleeping The builder devoted to a sleeping -> sleeping transition.SuspendVM Model an action where a running VM goes into the sleeping state through aSuspendVM
action.SuspendVM.Builder The builder devoted to a running -> sleeping transition.TransitionFactory A customisable factory that provides the right transition model according to the given element states.VMTransitionBuilder A builder to instantiate aVMTransitionBuilder