public class DBConnectionsInUseCollector extends AbstractStatisticsCollector implements BasicStatisticsCollector
| Constructor and Description |
|---|
DBConnectionsInUseCollector(java.lang.String name,
java.lang.String label,
java.lang.String color,
HybrisDataSource ds) |
| Modifier and Type | Method and Description |
|---|---|
float |
collect()
Collects a specific set of data, to be shown by a chart.
|
boolean |
evaluateValue(float value)
Evaluates the value, looking if the Value makes sense or not.
|
protected int |
getCurrentConnectionsInUse() |
getColor, getEnabled, getLabel, getName, setColor, setEnabled, setLabel, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColor, getEnabled, getLabel, getName, setColor, setEnabled, setLabel, setNamepublic DBConnectionsInUseCollector(java.lang.String name,
java.lang.String label,
java.lang.String color,
HybrisDataSource ds)
public float collect()
BasicStatisticsCollectorcollect in interface BasicStatisticsCollectorprotected int getCurrentConnectionsInUse()
public boolean evaluateValue(float value)
BasicStatisticsCollectorevaluateValue in interface BasicStatisticsCollectorvalue - Float the value that has to be checked.Copyright © 2018 SAP SE. All Rights Reserved.