SampleIndexer (Apache JMeter dist API)
Description: declaration: package: org.apache.jmeter.report.processor, interface: SampleIndexer

Package org.apache.jmeter.report.processor

# Interface SampleIndexer<TIndex>

Type Parameters:
  `TIndex` - the type of the index

public interface SampleIndexer<TIndex>
The classes that implement interface SampleIndexer have to calculate an index from a sample.

Since:
  3.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TIndex`
  `calculateIndex(Sample sample)`
  Calculate index from the specified sample.
  `void`
  `reset()`
  Reset the index calculation logic.

- ## Method Details

  - ### calculateIndex

    TIndex calculateIndex(Sample sample)
    Calculate index from the specified sample.
    Parameters:
      `sample` - the sample
    Returns:
      the index

  - ### reset

    void reset()
    Reset the index calculation logic.