|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.localcontroller.powermanagement.suspend.impl.PmUtils
public final class PmUtils
Wrapper around pm-utils package.
Constructor Summary | |
---|---|
PmUtils(ShellCommandExecuter executor)
Constructor. |
Method Summary | |
---|---|
boolean |
suspendToBoth()
Suspends the node to disk and memory. |
boolean |
suspendToDisk()
Suspends the node to disk. |
boolean |
suspendToRam()
Suspends the node to ram. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PmUtils(ShellCommandExecuter executor)
executor
- The executorMethod Detail |
---|
public boolean suspendToRam()
suspendToRam
in interface Suspend
public boolean suspendToDisk()
suspendToDisk
in interface Suspend
public boolean suspendToBoth()
suspendToBoth
in interface Suspend
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |