org.inria.myriads.snoozenode.configurator.energymanagement
public final class EnergyManagementSettings extends Object
Constructor and Description |
---|
EnergyManagementSettings()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCommandExecutionTimeout()
Returns the command execution timeout.
|
DriverSettings |
getDrivers()
Returns the drivers.
|
int |
getNumberOfReservedNodes()
Returns the number of reserved nodes.
|
PowerSavingAction |
getPowerSavingAction()
Returns the power saving action.
|
ThresholdSettings |
getThresholds()
Returns the thresholds.
|
boolean |
isEnabled()
Returns energy saving flag.
|
void |
setCommandExecutionTimeout(int commandExecutionTimeout)
Sets the command execution timeout.
|
void |
setEnabled(boolean isEnabled)
Enables/disables the energy savings.
|
void |
setNumberOfReservedNodes(int numberOfReservedNodes)
Sets the number of reserved nodes.
|
void |
setPowerSavingAction(PowerSavingAction powerSavingAction)
Sets the power saving action.
|
public DriverSettings getDrivers()
public void setEnabled(boolean isEnabled)
isEnabled
- true if energy savings must be enabled, false otherwisepublic boolean isEnabled()
public ThresholdSettings getThresholds()
public void setPowerSavingAction(PowerSavingAction powerSavingAction)
powerSavingAction
- The power saving actionpublic PowerSavingAction getPowerSavingAction()
public void setNumberOfReservedNodes(int numberOfReservedNodes)
numberOfReservedNodes
- The number of reserved nodespublic int getNumberOfReservedNodes()
public void setCommandExecutionTimeout(int commandExecutionTimeout)
commandExecutionTimeout
- The command execution timeoutpublic int getCommandExecutionTimeout()
Copyright © 2013. All Rights Reserved.