Class DefaultTimer

  • All Implemented Interfaces:
    Timer

    public class DefaultTimer
    extends java.lang.Object
    implements Timer
    Thin wrapper around Timer
    • Method Detail

      • time

        public Timer.Context time()
        Specified by:
        time in interface Timer
        See Also:
        Timer.time(java.util.concurrent.Callable<T>)
      • getCount

        public long getCount()
        Specified by:
        getCount in interface Timer
        See Also:
        Timer.getCount()