Package alluxio.metrics
Class MetricsSystem.MultiTimerContext
- java.lang.Object
-
- alluxio.metrics.MetricsSystem.MultiTimerContext
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- MetricsSystem
public static class MetricsSystem.MultiTimerContext extends java.lang.Object implements java.lang.AutoCloseable
A timer context with multiple timers.
-
-
Constructor Summary
Constructors Constructor Description MultiTimerContext(com.codahale.metrics.Timer... timers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Updates the timer with the difference between current and start time.
-