Package org.apache.iceberg.metrics
Interface Timer.Timed
- All Superinterfaces:
AutoCloseable
- Enclosing interface:
- Timer
A timing sample that carries internal state about the Timer's start position. The timing can be
completed by calling
stop()
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
void
stop()
Stops the timer and records the total duration up untilTimer.start()
was called.
-
Field Details
-
NOOP
-
-
Method Details
-
stop
void stop()Stops the timer and records the total duration up untilTimer.start()
was called. -
close
default void close()- Specified by:
close
in interfaceAutoCloseable
-