org.sonar.core.batch.monitoring
Class MonitorImpl

java.lang.Object
  extended by org.sonar.core.batch.monitoring.MonitorImpl
All Implemented Interfaces:
Monitor

public class MonitorImpl
extends java.lang.Object
implements Monitor


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonar.core.batch.monitoring.Monitor
Monitor.Status
 
Constructor Summary
MonitorImpl()
           
MonitorImpl(long timeToKeepFinished)
           
 
Method Summary
 java.util.List<Monitored> getFinished()
           
 java.util.Collection<Monitored> getPool()
           
 java.util.List<Monitored> getScheduled()
           
 java.util.List<Monitored> getStarted()
           
 Monitored register(java.lang.String name)
           
 void unregister(Monitored key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorImpl

public MonitorImpl()

MonitorImpl

public MonitorImpl(long timeToKeepFinished)
Method Detail

register

public Monitored register(java.lang.String name)
Specified by:
register in interface Monitor

unregister

public void unregister(Monitored key)
Specified by:
unregister in interface Monitor

getPool

public java.util.Collection<Monitored> getPool()
Specified by:
getPool in interface Monitor

getScheduled

public java.util.List<Monitored> getScheduled()
Specified by:
getScheduled in interface Monitor

getStarted

public java.util.List<Monitored> getStarted()
Specified by:
getStarted in interface Monitor

getFinished

public java.util.List<Monitored> getFinished()
Specified by:
getFinished in interface Monitor


Copyright © 2007-2008 hortis. All Rights Reserved.