|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.PerformanceStateCore
ariba.util.core.PerformanceStateCounter
public class PerformanceStateCounter
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_EVENTS, LOG_TIME, LogRankComparator |
Constructor Summary | |
---|---|
PerformanceStateCounter(java.lang.String name)
|
|
PerformanceStateCounter(java.lang.String name,
int logRank)
|
|
PerformanceStateCounter(java.lang.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)
Add c1 to the count, and add c2 to the secondary count. |
void |
addCount(long c1,
long c2,
java.lang.String type)
Add c1 to the count of the specific type, and add c2 to the secondary count of the specific type. |
void |
addCount(long quantity,
java.lang.String type)
Add quantity to the count of the specific type. |
void |
addCount(java.lang.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 |
---|
public PerformanceStateCounter(java.lang.String name, int logRank, int logFlags)
public PerformanceStateCounter(java.lang.String name, int logRank)
public PerformanceStateCounter(java.lang.String name)
Method Detail |
---|
public void addCount()
public void addCount(long quantity)
quantity
to the count.
public void addCount(java.lang.String type)
public void addCount(long quantity, java.lang.String type)
public void addCount(long c1, long c2)
public void addCount(long c1, long c2, java.lang.String type)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |