Class Gauge.Timer

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

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

      • start

        private final long start
    • Method Detail

      • close

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