Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
static QueryLogger.Builder |
QueryLogger.builder()
Creates a new
QueryLogger.Builder instance. |
QueryLogger.Builder |
QueryLogger.Builder.withConstantThreshold(long slowQueryLatencyThresholdMillis)
Enables slow query latency tracking based on constant thresholds.
|
QueryLogger.Builder |
QueryLogger.Builder.withDynamicThreshold(PercentileTracker percentileLatencyTracker,
double slowQueryLatencyThresholdPercentile)
Enables slow query latency tracking based on dynamic thresholds.
|
QueryLogger.Builder |
QueryLogger.Builder.withMaxLoggedParameters(int maxLoggedParameters)
Set the maximum number of query parameters that can be logged
by the driver.
|
QueryLogger.Builder |
QueryLogger.Builder.withMaxParameterValueLength(int maxParameterValueLength)
Set the maximum length of a query parameter value that can be logged verbatim
by the driver.
|
QueryLogger.Builder |
QueryLogger.Builder.withMaxQueryStringLength(int maxQueryStringLength)
Set the maximum length of a CQL query string that can be logged verbatim
by the driver.
|
Copyright © 2012–2017. All rights reserved.