@InterfaceAudience.Private public class MetricsZooKeeper extends Object implements ZooKeeperMetricsListener
| Constructor and Description |
|---|
MetricsZooKeeper() |
MetricsZooKeeper(MetricsZooKeeperSource s) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerAuthFailedException()
An AUTHFAILED Exception was seen.
|
void |
registerConnectionLossException()
A CONNECTIONLOSS Exception was seen.
|
void |
registerDataInconsistencyException()
A DATAINCONSISTENCY Exception was seen.
|
void |
registerFailedZKCall()
A ZooKeeper API Call failed.
|
void |
registerInvalidACLException()
An INVALIDACL Exception was seen.
|
void |
registerNoAuthException()
A NOAUTH Exception was seen.
|
void |
registerOperationTimeoutException()
A OPERATIONTIMEOUT Exception was seen.
|
void |
registerReadOperationLatency(long latency)
Register the latency incurred for read operations.
|
void |
registerRuntimeInconsistencyException()
A RUNTIMEINCONSISTENCY Exception was seen.
|
void |
registerSessionExpiredException()
A SESSIONEXPIRED Exception was seen.
|
void |
registerSyncOperationLatency(long latency)
Register the latency incurred for sync operations.
|
void |
registerSystemErrorException()
A SYSTEMERROR Exception was seen.
|
void |
registerWriteOperationLatency(long latency)
Register the latency incurred for write operations.
|
public MetricsZooKeeper()
public MetricsZooKeeper(MetricsZooKeeperSource s)
public void registerAuthFailedException()
ZooKeeperMetricsListenerregisterAuthFailedException in interface ZooKeeperMetricsListenerpublic void registerConnectionLossException()
ZooKeeperMetricsListenerregisterConnectionLossException in interface ZooKeeperMetricsListenerpublic void registerDataInconsistencyException()
ZooKeeperMetricsListenerregisterDataInconsistencyException in interface ZooKeeperMetricsListenerpublic void registerInvalidACLException()
ZooKeeperMetricsListenerregisterInvalidACLException in interface ZooKeeperMetricsListenerpublic void registerNoAuthException()
ZooKeeperMetricsListenerregisterNoAuthException in interface ZooKeeperMetricsListenerpublic void registerOperationTimeoutException()
ZooKeeperMetricsListenerregisterOperationTimeoutException in interface ZooKeeperMetricsListenerpublic void registerRuntimeInconsistencyException()
ZooKeeperMetricsListenerregisterRuntimeInconsistencyException in interface ZooKeeperMetricsListenerpublic void registerSessionExpiredException()
ZooKeeperMetricsListenerregisterSessionExpiredException in interface ZooKeeperMetricsListenerpublic void registerSystemErrorException()
ZooKeeperMetricsListenerregisterSystemErrorException in interface ZooKeeperMetricsListenerpublic void registerFailedZKCall()
ZooKeeperMetricsListenerregisterFailedZKCall in interface ZooKeeperMetricsListenerpublic void registerReadOperationLatency(long latency)
ZooKeeperMetricsListenerregisterReadOperationLatency in interface ZooKeeperMetricsListenerpublic void registerWriteOperationLatency(long latency)
ZooKeeperMetricsListenerregisterWriteOperationLatency in interface ZooKeeperMetricsListenerpublic void registerSyncOperationLatency(long latency)
ZooKeeperMetricsListenerregisterSyncOperationLatency in interface ZooKeeperMetricsListenerCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.