public static class MetricsSystem.MultiTimerContext extends Object implements AutoCloseable
Constructor and Description |
---|
MultiTimerContext(com.codahale.metrics.Timer... timers) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Updates the timer with the difference between current and start time.
|
public MultiTimerContext(com.codahale.metrics.Timer... timers)
timers
- timers associated with this contextpublic void close()
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.