public interface IClusterAwareMetricsReporter
| Modifier and Type | Method and Description |
|---|---|
static void |
reportMetrics(java.lang.String connUrl,
Log log)
Reports collected failover performance metrics at cluster level to a provided logger.
|
static void |
reportMetrics(java.lang.String connUrl,
Log log,
boolean atInstance)
Reports collected failover performance metrics to a provided logger.
|
static void |
resetMetrics()
Resets all collected failover performance metrics
|
static void reportMetrics(java.lang.String connUrl,
Log log)
connUrl - the connection URL to report.log - A logger to report collected metric.static void reportMetrics(java.lang.String connUrl,
Log log,
boolean atInstance)
connUrl - the connection URL to report.log - logger to report collected metric.atInstance - whether to print instance or cluster performance metrics.static void resetMetrics()