public interface ZooKeeperMetrics
| Modifier and Type | Method and Description |
|---|---|
void |
connectionStateChanged(org.apache.curator.framework.state.ConnectionState newState) |
void |
updateTimer(String name,
long duration,
TimeUnit timeUnit)
Call this to update the appropriate timer with an event duration.
|
void |
zookeeperTransientError()
Call this to report a transient ZooKeeper error.
|
void zookeeperTransientError()
void updateTimer(String name, long duration, TimeUnit timeUnit)
name - Durations with the same name get recorded under the same timer.duration - Duration of the event.timeUnit - Time unit of the duration.void connectionStateChanged(org.apache.curator.framework.state.ConnectionState newState)
Copyright © 2017. All rights reserved.