|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PhysicalMachine.State | |
---|---|
hu.mta.sztaki.lpds.cloud.simulator.iaas | |
hu.mta.sztaki.lpds.cloud.simulator.iaas.pmscheduling | |
hu.mta.sztaki.lpds.cloud.simulator.util |
Uses of PhysicalMachine.State in hu.mta.sztaki.lpds.cloud.simulator.iaas |
---|
Fields in hu.mta.sztaki.lpds.cloud.simulator.iaas declared as PhysicalMachine.State | |
---|---|
private PhysicalMachine.State |
PhysicalMachine.currentState
The current state of the PM |
private PhysicalMachine.State |
PhysicalMachine.PowerStateDelayer.newState
The state that the delayer must switch to after the power state change has finished its activites. |
Fields in hu.mta.sztaki.lpds.cloud.simulator.iaas with type parameters of type PhysicalMachine.State | |
---|---|
private EnumMap<PhysicalMachine.State,PowerState> |
PhysicalMachine.hostPowerBehavior
Mapping between the various PM states and its representative CPU/memory power behaviors. |
private EnumMap<PhysicalMachine.State,PowerState> |
PhysicalMachine.networkPowerBehavior
Mapping between the various PM states and its representative network power behaviors. |
private StateDependentEventHandler<PhysicalMachine.StateChangeListener,org.apache.commons.lang3.tuple.Pair<PhysicalMachine.State,PhysicalMachine.State>> |
PhysicalMachine.stateListenerManager
the manager of the PM's state change notifications. |
private StateDependentEventHandler<PhysicalMachine.StateChangeListener,org.apache.commons.lang3.tuple.Pair<PhysicalMachine.State,PhysicalMachine.State>> |
PhysicalMachine.stateListenerManager
the manager of the PM's state change notifications. |
static EnumSet<PhysicalMachine.State> |
PhysicalMachine.StatesOfHighEnergyConsumption
This is the list of PM states that mostly consume energy |
private EnumMap<PhysicalMachine.State,PowerState> |
PhysicalMachine.storagePowerBehavior
Mapping between the various PM states and its representative disk power behaviors. |
static EnumSet<PhysicalMachine.State> |
PhysicalMachine.ToOfforOff
These are the PM states which are either leading to off or already off. |
static EnumSet<PhysicalMachine.State> |
PhysicalMachine.ToOnorRunning
These are the PM states which are either leading to running or already running. |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas that return PhysicalMachine.State | |
---|---|
PhysicalMachine.State |
PhysicalMachine.getState()
retrieves the current state of the PM |
static PhysicalMachine.State |
PhysicalMachine.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PhysicalMachine.State[] |
PhysicalMachine.State.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas with parameters of type PhysicalMachine.State | |
---|---|
void |
PhysicalMachine.PowerStateDelayer.setNewState(PhysicalMachine.State newState)
if after the list of tasks are completed we need to reach a different power state than initially planned then this is the function to go for. |
private void |
PhysicalMachine.setState(PhysicalMachine.State newState)
manages the state change operation of the PM. |
void |
PhysicalMachine.StateChangeListener.stateChanged(PhysicalMachine pm,
PhysicalMachine.State oldState,
PhysicalMachine.State newState)
This function is called by the PM on subscribed objects when a PM's state changes. |
void |
IaaSService.stateChanged(PhysicalMachine pm,
PhysicalMachine.State oldState,
PhysicalMachine.State newState)
Implements the PhysicalMachine's state change listener to manage the internalRunningMachines list. |
Constructors in hu.mta.sztaki.lpds.cloud.simulator.iaas with parameters of type PhysicalMachine.State | |
---|---|
PhysicalMachine.PowerStateDelayer(double[] tasklist,
PhysicalMachine.State newPowerState)
The constructor of the delayer, it allows the specification of the tasks (that represent the boot/shutdown or similar operations) to be done before the power state can be achieved. |
Constructor parameters in hu.mta.sztaki.lpds.cloud.simulator.iaas with type arguments of type PhysicalMachine.State | |
---|---|
PhysicalMachine(double cores,
double perCorePocessing,
long memory,
Repository disk,
double[] turnonOperations,
double[] switchoffOperations,
EnumMap<PhysicalMachine.PowerStateKind,EnumMap<PhysicalMachine.State,PowerState>> powerTransitions)
Defines a new physical machine, ensures that there are no VMs running so far |
|
PhysicalMachine(double cores,
double perCorePocessing,
long memory,
Repository disk,
int onD,
int offD,
EnumMap<PhysicalMachine.PowerStateKind,EnumMap<PhysicalMachine.State,PowerState>> powerTransitions)
Defines a new physical machine, ensures that there are no VMs running so far |
Uses of PhysicalMachine.State in hu.mta.sztaki.lpds.cloud.simulator.iaas.pmscheduling |
---|
Methods in hu.mta.sztaki.lpds.cloud.simulator.iaas.pmscheduling with parameters of type PhysicalMachine.State | |
---|---|
void |
SchedulingDependentMachines.CapacityChangeManager.stateChanged(PhysicalMachine pm,
PhysicalMachine.State oldState,
PhysicalMachine.State newState)
This function is called when the PM's power state changes. |
Uses of PhysicalMachine.State in hu.mta.sztaki.lpds.cloud.simulator.util |
---|
Methods in hu.mta.sztaki.lpds.cloud.simulator.util that return types with arguments of type PhysicalMachine.State | |
---|---|
static EnumMap<PhysicalMachine.PowerStateKind,EnumMap<PhysicalMachine.State,PowerState>> |
PowerTransitionGenerator.generateTransitions(double minpower,
double idlepower,
double maxpower,
double diskDivider,
double netDivider)
The generator function that derives the power transition and power state definitions from a few simple parameters. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |