Class TimedRunnable
- java.lang.Object
-
- com.inductiveautomation.ignition.common.util.TimedRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
public class TimedRunnable extends java.lang.Object implements java.lang.Runnable
Runnable which wraps another runnable and records its execution duration using aTimer
-
-
Constructor Summary
Constructors Constructor Description TimedRunnable(java.lang.Runnable runnable, com.codahale.metrics.Timer timer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-