@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()
ZooKeeperMetricsListener
registerAuthFailedException
in interface ZooKeeperMetricsListener
public void registerConnectionLossException()
ZooKeeperMetricsListener
registerConnectionLossException
in interface ZooKeeperMetricsListener
public void registerDataInconsistencyException()
ZooKeeperMetricsListener
registerDataInconsistencyException
in interface ZooKeeperMetricsListener
public void registerInvalidACLException()
ZooKeeperMetricsListener
registerInvalidACLException
in interface ZooKeeperMetricsListener
public void registerNoAuthException()
ZooKeeperMetricsListener
registerNoAuthException
in interface ZooKeeperMetricsListener
public void registerOperationTimeoutException()
ZooKeeperMetricsListener
registerOperationTimeoutException
in interface ZooKeeperMetricsListener
public void registerRuntimeInconsistencyException()
ZooKeeperMetricsListener
registerRuntimeInconsistencyException
in interface ZooKeeperMetricsListener
public void registerSessionExpiredException()
ZooKeeperMetricsListener
registerSessionExpiredException
in interface ZooKeeperMetricsListener
public void registerSystemErrorException()
ZooKeeperMetricsListener
registerSystemErrorException
in interface ZooKeeperMetricsListener
public void registerFailedZKCall()
ZooKeeperMetricsListener
registerFailedZKCall
in interface ZooKeeperMetricsListener
public void registerReadOperationLatency(long latency)
ZooKeeperMetricsListener
registerReadOperationLatency
in interface ZooKeeperMetricsListener
public void registerWriteOperationLatency(long latency)
ZooKeeperMetricsListener
registerWriteOperationLatency
in interface ZooKeeperMetricsListener
public void registerSyncOperationLatency(long latency)
ZooKeeperMetricsListener
registerSyncOperationLatency
in interface ZooKeeperMetricsListener
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.