java.lang.Object
com.aoapps.hodgepodge.logging.ProcessTimer
- All Implemented Interfaces:
AutoCloseable,Runnable
A
ProcessTimer monitors how long something takes,
and logs info when the task takes too long.
This should be submitted to an ExecutorService, but probably
one that is unbounded and prepared for long-running tasks.
- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProcessTimer
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
run
public void run()
-
