Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.policies |
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterWidePercentileTracker
A
PercentileTracker that aggregates all measurements into a single histogram. |
class |
PerHostPercentileTracker
A
PercentileTracker that maintains a separate histogram for each host. |
Modifier and Type | Method and Description |
---|---|
PercentileTracker |
QueryLogger.DynamicThresholdQueryLogger.getPercentileLatencyTracker()
Return the percentile tracker to use for recording per-host latency histograms.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryLogger.DynamicThresholdQueryLogger.setPercentileLatencyTracker(PercentileTracker percentileLatencyTracker)
Set the percentile tracker to use for recording per-host latency histograms.
|
QueryLogger.Builder |
QueryLogger.Builder.withDynamicThreshold(PercentileTracker percentileLatencyTracker,
double slowQueryLatencyThresholdPercentile)
Enables slow query latency tracking based on dynamic thresholds.
|
Constructor and Description |
---|
PercentileSpeculativeExecutionPolicy(PercentileTracker percentileTracker,
double percentile,
int maxSpeculativeExecutions)
Builds a new instance.
|