|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.groupmanager.energysaver.wakeup.WakeupResources
public final class WakeupResources
Implements the triggers to wakeup resources.
Constructor Summary | |
---|---|
WakeupResources(int wakeupTimeout,
int commandExecutionTimeout,
GroupManagerRepository repository)
Constructor. |
Method Summary | |
---|---|
boolean |
sleep()
Causes the resolver module to sleep. |
boolean |
wakeupLocalController(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription localController)
Wakes up a passive local controller. |
boolean |
wakeupLocalControllers(List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> localControllers)
Wakeup local controllers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WakeupResources(int wakeupTimeout, int commandExecutionTimeout, GroupManagerRepository repository)
wakeupTimeout
- The wakeup timeoutcommandExecutionTimeout
- The command execution timeoutrepository
- The repositoryMethod Detail |
---|
public boolean wakeupLocalControllers(List<org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription> localControllers) throws InterruptedException
localControllers
- The local controllers
InterruptedException
public boolean sleep()
public boolean wakeupLocalController(org.inria.myriads.snoozecommon.communication.localcontroller.LocalControllerDescription localController)
localController
- The local controller description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |