public interface TimerDecorated extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
default void |
close() |
long |
stopTiming() |
default long |
stopTiming(com.codahale.metrics.Timer.Context timing)
Stop the timer for measured object.
|
long stopTiming()
default long stopTiming(com.codahale.metrics.Timer.Context timing)
Timer.Context#stop()
)
Call to this method will not reset the start time.
Multiple calls result in multiple updates.default void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2023 The Apache Software Foundation. All rights reserved.