org.sonar.batch.profiling
Class PhaseProfiling

java.lang.Object
  extended by org.sonar.batch.profiling.AbstractTimeProfiling
      extended by org.sonar.batch.profiling.PhaseProfiling

public class PhaseProfiling
extends AbstractTimeProfiling


Method Summary
static PhaseProfiling create(System2 system, Phases.Phase phase)
           
 void dump()
           
 ItemProfiling getProfilingPerItem(Object item)
           
 boolean hasItems()
           
 void merge(PhaseProfiling other)
           
 void newItemProfiling(Object item)
           
 void newItemProfiling(String itemName)
           
 Phases.Phase phase()
           
 
Methods inherited from class org.sonar.batch.profiling.AbstractTimeProfiling
add, println, println, println, setTotalTime, startTime, stop, system, totalTime, totalTimeAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static PhaseProfiling create(System2 system,
                                    Phases.Phase phase)

phase

public Phases.Phase phase()

hasItems

public boolean hasItems()

getProfilingPerItem

public ItemProfiling getProfilingPerItem(Object item)

newItemProfiling

public void newItemProfiling(Object item)

newItemProfiling

public void newItemProfiling(String itemName)

merge

public void merge(PhaseProfiling other)

dump

public void dump()


Copyright © 2009–2015 SonarSource. All rights reserved.