edu.wisc.ssec.mcidasv.monitors
Class MonitorManager

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.monitors.MonitorManager

public class MonitorManager
extends Object


Nested Class Summary
static class MonitorManager.MonitorType
           
 
Field Summary
private  Map<MonitorManager.MonitorType,Monitorable> monitors
           
private  ScheduledExecutorService scheduler
           
private  Map<Monitorable,ScheduledFuture<?>> woot
           
 
Constructor Summary
MonitorManager()
           
 
Method Summary
 void addListener(MonitorManager.MonitorType type, Monitoring listener)
           
 void removeListener(MonitorManager.MonitorType type, Monitoring listener)
           
 void scheduleClearCache()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scheduler

private final ScheduledExecutorService scheduler

monitors

private final Map<MonitorManager.MonitorType,Monitorable> monitors

woot

private final Map<Monitorable,ScheduledFuture<?>> woot
Constructor Detail

MonitorManager

public MonitorManager()
Method Detail

addListener

public void addListener(MonitorManager.MonitorType type,
                        Monitoring listener)

removeListener

public void removeListener(MonitorManager.MonitorType type,
                           Monitoring listener)

scheduleClearCache

public void scheduleClearCache()