Class PerformanceTimer
Object
com.liferay.portal.kernel.test.performance.PerformanceTimer
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Author:
- David Truong
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionPerformanceTimer
(long maxTime) PerformanceTimer
(long maxTime, String name) PerformanceTimer
(Class<?> clazz, long maxTime, String name) PerformanceTimer
(Class<?> clazz, Path logFilePath, 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) -
Method Summary
-
Field Details
-
maxTime
protected final long maxTime -
name
-
startTime
protected final long startTime
-
-
Constructor Details
-
PerformanceTimer
-
PerformanceTimer
-
PerformanceTimer
public PerformanceTimer(long maxTime) -
PerformanceTimer
-
PerformanceTimer
-
PerformanceTimer
-
PerformanceTimer
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getInvokerName
-
log
-