Class Summary.Timer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    Summary

    public static class Summary.Timer
    extends java.lang.Object
    implements java.io.Closeable
    Represents an event being timed.
    • Field Detail

      • start

        private final long start
    • Constructor Detail

    • Method Detail

      • close

        public void close()
        Equivalent to calling observeDuration().
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable