ariba.util.core
Class PerformanceStateCounter

java.lang.Object
  extended by ariba.util.core.PerformanceStateCore
      extended by ariba.util.core.PerformanceStateCounter
Direct Known Subclasses:
PerformanceStateTimedCounter

public class PerformanceStateCounter
extends PerformanceStateCore

A thread specific counter.


Nested Class Summary
static class PerformanceStateCounter.Instance
          the real instance
 
Nested classes/interfaces inherited from class ariba.util.core.PerformanceStateCore
PerformanceStateCore.EventDetail, PerformanceStateCore.MetricObserver
 
Field Summary
 
Fields inherited from class ariba.util.core.PerformanceStateCore
LOG_COUNT, LOG_TIME, LogRankComparator
 
Constructor Summary
PerformanceStateCounter(String name)
           
PerformanceStateCounter(String name, int logRank)
           
PerformanceStateCounter(String name, int logRank, int logFlags)
           
 
Method Summary
 void addCount()
          Add 1 to the count.
 void addCount(long quantity)
          Add quantity to the count.
 void addCount(long c1, long c2)
           
 void addCount(String type)
          Add 1 to the count of the specific type.
 
Methods inherited from class ariba.util.core.PerformanceStateCore
appendCSVData, appendCSVHeaders, getGlobalStackTraceCaptureThreshold, getLogRank, getName, hasSameNameAs, instance, setGlobalStackTraceCaptureThreshold
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceStateCounter

public PerformanceStateCounter(String name,
                               int logRank,
                               int logFlags)

PerformanceStateCounter

public PerformanceStateCounter(String name,
                               int logRank)

PerformanceStateCounter

public PerformanceStateCounter(String name)
Method Detail

addCount

public void addCount()
Add 1 to the count.


addCount

public void addCount(long quantity)
Add quantity to the count.


addCount

public void addCount(String type)
Add 1 to the count of the specific type.


addCount

public void addCount(long c1,
                     long c2)


AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.