public class Timed<T> extends Object implements TimerDecorated
Constructor and Description |
---|
Timed(T measured,
com.codahale.metrics.Timer timer) |
Modifier and Type | Method and Description |
---|---|
T |
getMeasured() |
long |
stopTiming() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, stopTiming
public Timed(T measured, com.codahale.metrics.Timer timer)
public T getMeasured()
public long stopTiming()
stopTiming
in interface TimerDecorated
Copyright © 2020 The Apache Software Foundation. All rights reserved.