Interface HistogramState

All Superinterfaces:
AccumulatorState
All Known Implementing Classes:
GroupedHistogramState, SingleHistogramState

public interface HistogramState extends AccumulatorState
  • Method Details

    • get

      will create an empty histogram if none exists
      Returns:
      histogram based on the type of state (single, grouped). Note that empty histograms will serialize to null as required
    • addMemoryUsage

      void addMemoryUsage(long memory)
    • deserialize

      void deserialize(Block block, int expectedSize)