ariba.util.core
Class PerformanceChecker
java.lang.Object
ariba.util.core.PerformanceChecker
public class PerformanceChecker
- extends java.lang.Object
Object used by the PerformanceCheck to check a specific
metric (or PerformanceStateCore).
The thresholds used to check a metric are defined with parameters.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformanceChecker
public PerformanceChecker(PerformanceStateCore metric)
PerformanceChecker
public PerformanceChecker(PerformanceStateCore metric,
long errorLevel,
long warningLevel)
PerformanceChecker
public PerformanceChecker(PerformanceStateCore metric,
boolean checkTimer,
long errorLevel,
long warningLevel)
getMetricName
public final java.lang.String getMetricName()
isStable
public boolean isStable()
getValue
public long getValue(PerformanceState.Stats stats)
getValueString
public java.lang.String getValueString(PerformanceState.Stats stats)
getThresholds
public long[] getThresholds(java.lang.String type)
check
public int check(PerformanceState.Stats stats,
PerformanceCheck.ErrorSink sink)
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.