org.sonar.batch.profiling
Class AbstractTimeProfiling

java.lang.Object
  extended by org.sonar.batch.profiling.AbstractTimeProfiling
Direct Known Subclasses:
ItemProfiling, ModuleProfiling, PhaseProfiling

public abstract class AbstractTimeProfiling
extends Object


Constructor Summary
AbstractTimeProfiling(System2 system)
           
 
Method Summary
protected  void add(AbstractTimeProfiling other)
           
protected  void println(String msg)
           
protected  void println(String text, AbstractTimeProfiling phaseProfiling)
           
protected  void println(String text, Double percent, AbstractTimeProfiling phaseProfiling)
           
 void setTotalTime(long totalTime)
           
 long startTime()
           
 void stop()
           
protected  System2 system()
           
 long totalTime()
           
 String totalTimeAsString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTimeProfiling

public AbstractTimeProfiling(System2 system)
Method Detail

system

protected System2 system()

startTime

public long startTime()

stop

public void stop()

totalTime

public long totalTime()

totalTimeAsString

public String totalTimeAsString()

setTotalTime

public void setTotalTime(long totalTime)

add

protected void add(AbstractTimeProfiling other)

println

protected void println(String msg)

println

protected void println(String text,
                       @Nullable
                       Double percent,
                       AbstractTimeProfiling phaseProfiling)

println

protected void println(String text,
                       AbstractTimeProfiling phaseProfiling)


Copyright © 2009–2015 SonarSource. All rights reserved.