org.inria.myriads.snoozenode.localcontroller.powermanagement.suspend
Interface Suspend

All Known Implementing Classes:
PmUtils, Uswsusp

public interface Suspend

Suspend interface.

Author:
Eugen Feller

Method Summary
 boolean suspendToBoth()
          Suspend to both (disk and memory).
 boolean suspendToDisk()
          Suspend to disk.
 boolean suspendToRam()
          Suspend to ram.
 

Method Detail

suspendToRam

boolean suspendToRam()
Suspend to ram.

Returns:
true if everything ok, false otherwise

suspendToDisk

boolean suspendToDisk()
Suspend to disk.

Returns:
true if everything ok, false otherwise

suspendToBoth

boolean suspendToBoth()
Suspend to both (disk and memory).

Returns:
true if everything ok, false otherwise


Copyright © 2012. All Rights Reserved.