public class PerformanceLogger extends Object
| Modifier and Type | Method and Description |
|---|---|
static PerformanceLogger |
getInstance() |
void |
log(String step,
long time)
log performance information with step.
|
void |
log(String step,
String action,
long time)
log performance information with step and action.
|
void |
log(String step,
String action,
String task,
long time)
log performance information with step, action and task.
|
void |
log(String step,
String action,
String task,
long size,
long time) |
public void log(String step, String action, String task, long time)
step - name of the stepaction - name of the actiontask - optional, use to log a treatment or a part of treatmenttime - duration of the treatmentpublic void log(String step, String action, String task, long size, long time)
step - action - task - size - of objecttime - public void log(String step, String action, long time)
step - name of the stepaction - name of the actiontime - duration of the treatmentpublic void log(String step, long time)
step - name of the steptime - duration of the treatmentpublic static PerformanceLogger getInstance()
PerformanceLoggerCopyright © 2019 Vitam. All rights reserved.