Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LifecycleAwareLatencyTracker
A
LatencyTracker that tracks when it gets registered or unregistered with a cluster. |
Modifier and Type | Class and Description |
---|---|
class |
ClusterWidePercentileTracker
A
PercentileTracker that aggregates all measurements into a single histogram. |
class |
PercentileTracker
A
LatencyTracker that records query latencies over a sliding time interval, and exposes an API to retrieve
the latency at a given percentile. |
class |
PerHostPercentileTracker
A
PercentileTracker that maintains a separate histogram for each host. |
class |
QueryLogger
A configurable
LatencyTracker that logs all executed statements. |
static class |
QueryLogger.ConstantThresholdQueryLogger
A QueryLogger that uses a constant threshold in milliseconds
to track slow queries.
|
static class |
QueryLogger.DynamicThresholdQueryLogger
A QueryLogger that uses a dynamic threshold in milliseconds
to track slow queries.
|
Modifier and Type | Method and Description |
---|---|
Cluster |
DelegatingCluster.register(LatencyTracker tracker) |
Cluster |
Cluster.register(LatencyTracker tracker)
Registers the provided tracker to be updated with hosts read
latencies.
|
Cluster |
DelegatingCluster.unregister(LatencyTracker tracker) |
Cluster |
Cluster.unregister(LatencyTracker tracker)
Unregisters the provided latency tracking from being updated
with host read latencies.
|