Package jetbrains.buildServer.metrics
Interface Counter
-
- All Known Implementing Classes:
NoOpCounter
public interface Counter
- Since:
- 2019.2
- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default double
doubleValue()
void
increment(double value)
Stoppable
startMsecsTimer()
Allows reporting value as msecs interval
-
-
-
Method Detail
-
increment
void increment(double value)
- Parameters:
value
- Increment counter to the given value
-
startMsecsTimer
@NotNull Stoppable startMsecsTimer()
Allows reporting value as msecs interval
-
doubleValue
default double doubleValue()
- Returns:
- current counter value
- Since:
- 2021.1
-
-