Package org.synchronoss.cpo.cassandra
Class HistogramOptions
java.lang.Object
org.synchronoss.cpo.cassandra.HistogramOptions
Histogram tuning shared by the driver's per-metric latency options (session cql-requests, session
throttling.delay, node cql-messages).
- Author:
- dberry
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty HistogramOptions with all tuning values unset. -
Method Summary
Modifier and TypeMethodDescriptionGet the largest latency expected to be recorded, in millisecondsGet the shortest latency expected to be recorded, in millisecondsGet the percentiles to publish as their own time seriesGet the interval at which percentile data is refreshed, in minutesGet the number of significant decimal digits of resolutionGet the service-level-objective latency boundaries, in millisecondsvoidsetHighestLatencyMillis(Long highestLatencyMillis) Set the largest latency expected to be recorded, in millisecondsvoidsetLowestLatencyMillis(Long lowestLatencyMillis) Set the shortest latency expected to be recorded, in millisecondsvoidsetPublishPercentiles(List<Double> publishPercentiles) Set the percentiles to publish as their own time seriesvoidsetRefreshIntervalMinutes(Long refreshIntervalMinutes) Set the interval at which percentile data is refreshed, in minutesvoidsetSignificantDigits(Integer significantDigits) Set the number of significant decimal digits of resolutionvoidsetSloMillis(List<Long> sloMillis) Set the service-level-objective latency boundaries, in milliseconds
-
Constructor Details
-
HistogramOptions
public HistogramOptions()Constructs an empty HistogramOptions with all tuning values unset.
-
-
Method Details
-
getHighestLatencyMillis
Get the largest latency expected to be recorded, in milliseconds- Returns:
- the highest latency in milliseconds
-
setHighestLatencyMillis
Set the largest latency expected to be recorded, in milliseconds- Parameters:
highestLatencyMillis- the highest latency in milliseconds
-
getLowestLatencyMillis
Get the shortest latency expected to be recorded, in milliseconds- Returns:
- the lowest latency in milliseconds
-
setLowestLatencyMillis
Set the shortest latency expected to be recorded, in milliseconds- Parameters:
lowestLatencyMillis- the lowest latency in milliseconds
-
getSignificantDigits
Get the number of significant decimal digits of resolution- Returns:
- the number of significant digits
-
setSignificantDigits
Set the number of significant decimal digits of resolution- Parameters:
significantDigits- the number of significant digits
-
getRefreshIntervalMinutes
Get the interval at which percentile data is refreshed, in minutes- Returns:
- the refresh interval in minutes
-
setRefreshIntervalMinutes
Set the interval at which percentile data is refreshed, in minutes- Parameters:
refreshIntervalMinutes- the refresh interval in minutes
-
getSloMillis
Get the service-level-objective latency boundaries, in milliseconds- Returns:
- the SLO boundaries in milliseconds
-
setSloMillis
Set the service-level-objective latency boundaries, in milliseconds- Parameters:
sloMillis- the SLO boundaries in milliseconds
-
getPublishPercentiles
Get the percentiles to publish as their own time series- Returns:
- the percentiles to publish
-
setPublishPercentiles
Set the percentiles to publish as their own time series- Parameters:
publishPercentiles- the percentiles to publish
-