mam.agent.sleepManager
Class SimpleSleepManager
mam.agent.sleepManager.SleepManager
|
+--mam.agent.sleepManager.SimpleSleepManager
- public class SimpleSleepManager
- extends SleepManager
m_defaultSleepTime
protected final static long m_defaultSleepTime
m_lastActivityTime
protected Date m_lastActivityTime
m_maximumSleepTime
protected final static long m_maximumSleepTime
m_minimumSleepTime
protected final static long m_minimumSleepTime
m_sleepTime
protected long m_sleepTime
SimpleSleepManager
public SimpleSleepManager()
activityDetected
public synchronized void activityDetected()
getSleepTime
public long getSleepTime()
noActivityDetected
public synchronized void noActivityDetected()