Package io.debezium.util
Interface Threads.TimeSince
- Enclosing class:
- Threads
public static interface Threads.TimeSince
Measures the amount time that has elapsed since the last
reset
.-
Method Details
-
reset
void reset()Reset the elapsed time to 0. -
elapsedTime
long elapsedTime()Get the time that has elapsed since the last call toreset
.- Returns:
- the number of milliseconds
-