Enum ConsolidationMode
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum ConsolidationMode extends Enum<ConsolidationMode>
The kind of consolidation.
-
-
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. -
-
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.
-
-
-
-