ariba.util.core
Class PerformanceChecker
java.lang.Object
ariba.util.core.PerformanceChecker
public class PerformanceChecker
- extends Object
Object used by the PerformanceCheck to check a specific
metric (or PerformanceStateCore).
The thresholds used to check a metric are defined with parameters.
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 String getMetricName()
getValue
public long getValue(PerformanceState.Stats stats)
getValueString
public String getValueString(PerformanceState.Stats stats)
check
public int check(PerformanceState.Stats stats,
PerformanceCheck.ErrorSink sink)
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.