Class NoOpTelemetry
java.lang.Object
org.sonar.java.telemetry.NoOpTelemetry
- All Implemented Interfaces:
Telemetry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaggregateAsCounter(TelemetryKey key, long value) Aggregates all the given values as a sum for the given key.voidaggregateAsFlag(TelemetryKey key, boolean value) voidSame asTelemetry.aggregateAsSortedSet(TelemetryKey, String), but no value is added.voidaggregateAsSortedSet(TelemetryKey key, String value) Aggregates all the given values as a sorted set for the given key.toMap()
-
Constructor Details
-
NoOpTelemetry
public NoOpTelemetry()
-
-
Method Details
-
aggregateAsSortedSet
Description copied from interface:TelemetryAggregates all the given values as a sorted set for the given key. The final map will contain the key and a comma-separated list of sorted values.- Specified by:
aggregateAsSortedSetin interfaceTelemetry
-
aggregateAsSortedSet
Description copied from interface:TelemetrySame asTelemetry.aggregateAsSortedSet(TelemetryKey, String), but no value is added. If this is the only call for the key, then the final map will be empty for the key.- Specified by:
aggregateAsSortedSetin interfaceTelemetry
-
aggregateAsCounter
Description copied from interface:TelemetryAggregates all the given values as a sum for the given key.- Specified by:
aggregateAsCounterin interfaceTelemetry
-
aggregateAsFlag
- Specified by:
aggregateAsFlagin interfaceTelemetry
-
toMap
-