Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Class and Description |
---|---|
class |
PerHostPercentileTracker
A
LatencyTracker that records latencies for each host over a sliding time interval, and exposes an
API to retrieve the latency at a given percentile. |
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.
|