Package org.eclipse.jgit.logging
Class PerformanceLogRecord
- java.lang.Object
-
- org.eclipse.jgit.logging.PerformanceLogRecord
-
public class PerformanceLogRecord extends java.lang.ObjectClass to register a performance log record.- Since:
- 5.10
-
-
Field Summary
Fields Modifier and Type Field Description private longdurationMsDuration of the recorded event in milliseconds.private java.lang.StringnameName 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 longgetDurationMs()Get the duration in milliseconds of the recorded event.java.lang.StringgetName()Get the name of the recorded event.
-