Package org.eclipse.jgit.logging
Class PerformanceLogRecord
- java.lang.Object
-
- org.eclipse.jgit.logging.PerformanceLogRecord
-
public class PerformanceLogRecord extends java.lang.Object
Class to register a performance log record.- Since:
- 5.10
-
-
Field Summary
Fields Modifier and Type Field Description private long
durationMs
Duration of the recorded event in milliseconds.private java.lang.String
name
Name of the recorded event.
-
Constructor Summary
Constructors Constructor Description PerformanceLogRecord(java.lang.String name, long durationMs)
Create a new performance log record for an event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDurationMs()
Get the duration in milliseconds of the recorded event.java.lang.String
getName()
Get the name of the recorded event.
-