PerformanceLogger.public final class PerformanceTracker
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
dumpSummary()
Deprecated.
Call this method to dump the accumulated results so far.
|
static PerformanceTracker |
get()
Deprecated.
|
void |
resetStatistics()
Deprecated.
|
void |
track(java.lang.String key,
java.lang.Object listenerObj,
long nanoTime)
Deprecated.
Calls to this method record a performance time for a particular key
by a particular implementation class.
|
public static PerformanceTracker get()
public void track(java.lang.String key,
java.lang.Object listenerObj,
long nanoTime)
key - The key identifying the block of code being measured.
This should be a dot-separated String composed of the fully qualified
class name and the method name being invoked.listenerObj - The listener object that was invoked in association
with this record.nanoTime - The time in nanoseconds that the implementation
took to complete.public void resetStatistics()
public void dumpSummary()