@ProviderType
public static interface Manageable.ApiMetrics
Note: Metrics collection can be disabled by adding OS environment variable
the JCSMP_DISABLE_STATS
before using this API.
Modifier and Type | Interface and Description |
---|---|
static class |
Manageable.ApiMetrics.Metric
List of collected metrics in the API.
|
Modifier and Type | Method and Description |
---|---|
long |
getValue(Manageable.ApiMetrics.Metric theMetric)
Retrieves the metric's current value/count.
|
void |
reset()
Resets all the statistics.
|
String |
toString()
Prints all available statistics as a
String value. |
long getValue(Manageable.ApiMetrics.Metric theMetric)
theMetric
- the metric for which to retrieve the valuetheMetric
void reset()
Copyright 2019-2024 Solace Corporation. All rights reserved.