org.inria.myriads.snoozenode.localcontroller.powermanagement.suspend.impl
Constructor and Description |
---|
PmUtils(ShellCommandExecuter executor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
suspendToBoth()
Suspends the node to disk and memory.
|
boolean |
suspendToDisk()
Suspends the node to disk.
|
boolean |
suspendToRam()
Suspends the node to ram.
|
public PmUtils(ShellCommandExecuter executor)
executor
- The executorpublic boolean suspendToRam()
suspendToRam
in interface Suspend
public boolean suspendToDisk()
suspendToDisk
in interface Suspend
public boolean suspendToBoth()
suspendToBoth
in interface Suspend
Copyright © 2013. All Rights Reserved.