public interface Timer extends UncheckedCloseable
| Modifier and Type | Method and Description |
|---|---|
<T,E extends Exception> |
time(CheckedCallable<T,E> event)
Times and records the duration of event which returns a value.
|
<E extends Exception> |
time(CheckedRunnable<E> event)
Times and records the duration of event.
|
close<T,E extends Exception> T time(CheckedCallable<T,E> event) throws E extends Exception
E extends Exception<E extends Exception> void time(CheckedRunnable<E> event) throws E extends Exception
E extends ExceptionCopyright © 2019 OpenDaylight. All rights reserved.