Interface Timer

All Superinterfaces:
AutoCloseable, org.opendaylight.yangtools.concepts.Registration

public interface Timer extends org.opendaylight.yangtools.concepts.Registration
A timer metric which aggregates timing durations.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T, E extends Exception>
    T
    time(CheckedCallable<T,E> event)
    Times and records the duration of event which returns a value.
    <E extends Exception>
    void
    Times and records the duration of event.

    Methods inherited from interface org.opendaylight.yangtools.concepts.Registration

    close