public class PerformanceLogContext extends Object
Modifier and Type | Method and Description |
---|---|
void |
addEvent(PerformanceLogRecord record)
Adds a performance log record to the current list of events.
|
void |
cleanEvents()
Removes all of the existing records from the current list of events.
|
List<PerformanceLogRecord> |
getEventRecords()
Get the unmodifiable list of events as performance records.
|
static PerformanceLogContext |
getInstance()
Get the instance of the context.
|
public static PerformanceLogContext getInstance()
public List<PerformanceLogRecord> getEventRecords()
public void addEvent(PerformanceLogRecord record)
record
- performance log record that is going to be added.public void cleanEvents()
Copyright © 2020 Eclipse JGit Project. All rights reserved.