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 | Method and Description |
---|---|
PerHostPercentileTracker |
PerHostPercentileTracker.Builder.build()
Builds the
PerHostPercentileTracker instance configured with this builder. |
PerHostPercentileTracker |
QueryLogger.DynamicThresholdQueryLogger.getPerHostPercentileLatencyTracker()
Return the
PerHostPercentileTracker instance to use for recording per-host latency histograms. |
Modifier and Type | Method and Description |
---|---|
void |
QueryLogger.DynamicThresholdQueryLogger.setPerHostPercentileLatencyTracker(PerHostPercentileTracker perHostPercentileLatencyTracker)
Set the
PerHostPercentileTracker instance to use for recording per-host latency histograms. |
QueryLogger.Builder |
QueryLogger.Builder.withDynamicThreshold(PerHostPercentileTracker perHostPercentileLatencyTracker,
double slowQueryLatencyThresholdPercentile)
Enables slow query latency tracking based on dynamic thresholds.
|
Constructor and Description |
---|
PercentileSpeculativeExecutionPolicy(PerHostPercentileTracker percentileTracker,
double percentile,
int maxSpeculativeExecutions)
Builds a new instance.
|