# Uses of Interface
org.apache.zookeeper.metrics.Counter

Packages that use Counter
Package
Description
org.apache.zookeeper.metrics
org.apache.zookeeper.metrics.impl
org.apache.zookeeper.server
ZooKeeper server theory of operation
org.apache.zookeeper.server.metric

## Uses of Counter in org.apache.zookeeper.metrics

Methods in org.apache.zookeeper.metrics that return Counter
Modifier and Type
Method
Description
`Counter`
MetricsContext.`getCounter(String name)`
Returns a counter.

## Uses of Counter in org.apache.zookeeper.metrics.impl

Methods in org.apache.zookeeper.metrics.impl that return Counter
Modifier and Type
Method
Description
`Counter`
NullMetricsProvider.NullMetricsContext.`getCounter(String name)`

## Uses of Counter in org.apache.zookeeper.server

Fields in org.apache.zookeeper.server declared as Counter
Modifier and Type
Field
Description
`final Counter`
ServerMetrics.`ADD_DEAD_WATCHER_STALL_TIME`
`final Counter`
ServerMetrics.`BYTES_RECEIVED_COUNT`
`final Counter`
ServerMetrics.`CNXN_CLOSED_WITHOUT_ZK_SERVER_RUNNING`
`final Counter`
ServerMetrics.`COMMIT_COUNT`
`final Counter`
ServerMetrics.`COMMITS_QUEUED`
`final Counter`
ServerMetrics.`CONNECTION_DROP_COUNT`
`final Counter`
ServerMetrics.`CONNECTION_REJECTED`
`final Counter`
ServerMetrics.`CONNECTION_REQUEST_COUNT`
`final Counter`
ServerMetrics.`CONNECTION_REVALIDATE_COUNT`
`final Counter`
ServerMetrics.`DEAD_WATCHERS_CLEARED`
`final Counter`
ServerMetrics.`DEAD_WATCHERS_QUEUED`
`final Counter`
ServerMetrics.`DIFF_COUNT`
`final Counter`
ServerMetrics.`DIGEST_MISMATCHES_COUNT`
`final Counter`
ServerMetrics.`ENSEMBLE_AUTH_FAIL`
`final Counter`
ServerMetrics.`ENSEMBLE_AUTH_SKIP`
`final Counter`
ServerMetrics.`ENSEMBLE_AUTH_SUCCESS`
`final Counter`
ServerMetrics.`INSECURE_ADMIN`
`final Counter`
ServerMetrics.`LARGE_REQUESTS_REJECTED`
`final Counter`
ServerMetrics.`LEARNER_COMMIT_RECEIVED_COUNT`
`final Counter`
ServerMetrics.`LEARNER_PROPOSAL_RECEIVED_COUNT`
`final Counter`
ServerMetrics.`LOOKING_COUNT`
`final Counter`
ServerMetrics.`OUTSTANDING_CHANGES_QUEUED`
`final Counter`
ServerMetrics.`OUTSTANDING_CHANGES_REMOVED`
`final Counter`
ServerMetrics.`PREP_PROCESSOR_QUEUED`
`final Counter`
ServerMetrics.`PROPOSAL_COUNT`
`final Counter`
ServerMetrics.`QUIT_LEADING_DUE_TO_DISLOYAL_VOTER`
`final Counter`
ServerMetrics.`REQUEST_THROTTLE_WAIT_COUNT`
`final Counter`
ServerMetrics.`REQUESTS_NOT_FORWARDED_TO_COMMIT_PROCESSOR`
`final Counter`
ServerMetrics.`RESPONSE_BYTES`
Number of response/watch bytes written to clients.
`final Counter`
ServerMetrics.`RESPONSE_PACKET_CACHE_HITS`
`final Counter`
ServerMetrics.`RESPONSE_PACKET_CACHE_MISSING`
`final Counter`
ServerMetrics.`RESPONSE_PACKET_GET_CHILDREN_CACHE_HITS`
`final Counter`
ServerMetrics.`RESPONSE_PACKET_GET_CHILDREN_CACHE_MISSING`
`final Counter`
ServerMetrics.`RESTORE_ERROR_COUNT`
Restore error count
`final Counter`
ServerMetrics.`RESTORE_RATE_LIMITED_COUNT`
Restore rate limited count
`final Counter`
ServerMetrics.`REVALIDATE_COUNT`
`final Counter`
ServerMetrics.`SESSIONLESS_CONNECTIONS_EXPIRED`
`final Counter`
ServerMetrics.`SKIP_LEARNER_REQUEST_TO_NEXT_PROCESSOR_COUNT`
`final Counter`
ServerMetrics.`SNAP_COUNT`
`final Counter`
ServerMetrics.`SNAPSHOT_ERROR_COUNT`
Snapshot error count
`final Counter`
ServerMetrics.`SNAPSHOT_RATE_LIMITED_COUNT`
Snapshot rate limited count
`final Counter`
ServerMetrics.`STALE_REPLIES`
`final Counter`
ServerMetrics.`STALE_REQUESTS`
`final Counter`
ServerMetrics.`STALE_REQUESTS_DROPPED`
`final Counter`
ServerMetrics.`STALE_SESSIONS_EXPIRED`
`final Counter`
ServerMetrics.`SYNC_PROCESSOR_QUEUED`
`final Counter`
ServerMetrics.`THROTTLED_OPS`
`final Counter`
ServerMetrics.`TLS_HANDSHAKE_EXCEEDED`
`final Counter`
ServerMetrics.`UNRECOVERABLE_ERROR_COUNT`
`final Counter`
ServerMetrics.`UNSUCCESSFUL_HANDSHAKE`
`final Counter`
ServerMetrics.`WATCH_BYTES`

## Uses of Counter in org.apache.zookeeper.server.metric

Classes in org.apache.zookeeper.server.metric that implement Counter
Modifier and Type
Class
Description
`class`
`SimpleCounter`