Enum ConsolidationMode

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AUTO

      Apply automatic consolidation based on queryable's preferences.

      NONE

      No consolidation applied: multiple samples may be received for the same key-timestamp.

      MONOTONIC

      Monotonic consolidation immediately forwards samples, except if one with an equal or more recent timestamp has already been sent with the same key.

      This optimizes latency while potentially reducing bandwidth.

      Note that this doesn't cause re-ordering, but drops the samples for which a more recent timestamp has already been observed with the same key.

      LATEST

      Holds back samples to only send the set of samples that had the highest timestamp for their key.

    • Method Summary

      Modifier and Type Method Description
      final ConsolidationMode valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<ConsolidationMode> values() Returns an array containing the constants of this enum type, in the order they're declared.
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final ConsolidationMode valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<ConsolidationMode> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.