public class PerformanceTimer
extends Object
implements Closeable
Modifier and Type | Field and Description |
---|---|
protected long |
maxTime |
protected String |
name |
protected long |
startTime |
Modifier | Constructor and Description |
---|---|
|
PerformanceTimer(Class<?> clazz,
long maxTime,
String name) |
|
PerformanceTimer(Class<?> clazz,
Path logFilePath,
long maxTime,
String name) |
|
PerformanceTimer(long maxTime) |
|
PerformanceTimer(long maxTime,
String name) |
|
PerformanceTimer(Path logFilePath,
long maxTime) |
|
PerformanceTimer(Path logFilePath,
long maxTime,
String name) |
protected |
PerformanceTimer(Path logFilePath,
long maxTime,
String name,
long startTime) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected static String |
getInvokerName(Class<?> clazz,
String name) |
protected void |
log(String message) |
protected final long maxTime
protected final String name
protected final long startTime
public PerformanceTimer(Class<?> clazz, long maxTime, String name)
public PerformanceTimer(Class<?> clazz, Path logFilePath, long maxTime, String name)
public PerformanceTimer(long maxTime)
public PerformanceTimer(long maxTime, String name)
public PerformanceTimer(Path logFilePath, long maxTime)
public PerformanceTimer(Path logFilePath, long maxTime, String name)
protected PerformanceTimer(Path logFilePath, long maxTime, String name, long startTime)