Class HistogramOptions

java.lang.Object
org.synchronoss.cpo.cassandra.HistogramOptions

public class HistogramOptions extends Object
Histogram tuning shared by the driver's per-metric latency options (session cql-requests, session throttling.delay, node cql-messages).
Author:
dberry
  • Constructor Details

    • HistogramOptions

      public HistogramOptions()
      Constructs an empty HistogramOptions with all tuning values unset.
  • Method Details

    • getHighestLatencyMillis

      public Long getHighestLatencyMillis()
      Get the largest latency expected to be recorded, in milliseconds
      Returns:
      the highest latency in milliseconds
    • setHighestLatencyMillis

      public void setHighestLatencyMillis(Long highestLatencyMillis)
      Set the largest latency expected to be recorded, in milliseconds
      Parameters:
      highestLatencyMillis - the highest latency in milliseconds
    • getLowestLatencyMillis

      public Long getLowestLatencyMillis()
      Get the shortest latency expected to be recorded, in milliseconds
      Returns:
      the lowest latency in milliseconds
    • setLowestLatencyMillis

      public void setLowestLatencyMillis(Long lowestLatencyMillis)
      Set the shortest latency expected to be recorded, in milliseconds
      Parameters:
      lowestLatencyMillis - the lowest latency in milliseconds
    • getSignificantDigits

      public Integer getSignificantDigits()
      Get the number of significant decimal digits of resolution
      Returns:
      the number of significant digits
    • setSignificantDigits

      public void setSignificantDigits(Integer significantDigits)
      Set the number of significant decimal digits of resolution
      Parameters:
      significantDigits - the number of significant digits
    • getRefreshIntervalMinutes

      public Long getRefreshIntervalMinutes()
      Get the interval at which percentile data is refreshed, in minutes
      Returns:
      the refresh interval in minutes
    • setRefreshIntervalMinutes

      public void setRefreshIntervalMinutes(Long refreshIntervalMinutes)
      Set the interval at which percentile data is refreshed, in minutes
      Parameters:
      refreshIntervalMinutes - the refresh interval in minutes
    • getSloMillis

      public List<Long> getSloMillis()
      Get the service-level-objective latency boundaries, in milliseconds
      Returns:
      the SLO boundaries in milliseconds
    • setSloMillis

      public void setSloMillis(List<Long> sloMillis)
      Set the service-level-objective latency boundaries, in milliseconds
      Parameters:
      sloMillis - the SLO boundaries in milliseconds
    • getPublishPercentiles

      public List<Double> getPublishPercentiles()
      Get the percentiles to publish as their own time series
      Returns:
      the percentiles to publish
    • setPublishPercentiles

      public void setPublishPercentiles(List<Double> publishPercentiles)
      Set the percentiles to publish as their own time series
      Parameters:
      publishPercentiles - the percentiles to publish