public interface Timer extends Metric
long
count()
<T> T
record(Callable<T> callable)
void
record(long amount, TimeUnit unit)
record(Runnable runnable)
totalTime()
id, measure
void record(long amount, TimeUnit unit)
amount
unit
<T> T record(Callable<T> callable) throws Exception
Exception
void record(Runnable runnable)
runnable
long count()
long totalTime()
Copyright © 2018. All rights reserved.