public final class StopWatcher<V> extends Object
Constructor and Description |
---|
StopWatcher(Callable<V> callable) |
StopWatcher(Runnable runnable) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.time.StopWatch |
getStopWatch() |
V |
getValue() |
static <V> StopWatcher<V> |
watch(Callable<V> callable) |
static StopWatcher<Void> |
watch(Runnable runnable) |
public StopWatcher(Runnable runnable)
public static StopWatcher<Void> watch(Runnable runnable)
public static <V> StopWatcher<V> watch(Callable<V> callable) throws Exception
Exception
public V getValue()
public org.apache.commons.lang3.time.StopWatch getStopWatch()
Copyright © 2022. All rights reserved.