- Type Parameters:
T -
public abstract class OperationTimer<T>
extends Object
A handy class that lets you wrap any operation in a stopwatch that will output
elapsed time and an arbitrary message to the log.
- Author:
- Daniel Bernstein
-
Constructor Summary
Constructors
-
Method Summary
Implements the execution of the operation to be timed.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OperationTimer
public OperationTimer(String message)
-
Method Details
-
-
executeImpl
Implements the execution of the operation to be timed.
- Returns:
- Throws:
Exception