public class PerformanceStatsServiceImpl extends Object implements PerformanceStatsService
| Constructor and Description |
|---|
PerformanceStatsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<ActionIdentifier,Stats> |
getAndClearStatistics()
Obtain statistics from all action executions registered so far.
|
void |
recordExecution(@NotNull ActionIdentifier actionIdentifier,
long durationMillis)
Record execution of an action for which performance was measured.
|
public void recordExecution(@NotNull
@NotNull ActionIdentifier actionIdentifier,
long durationMillis)
PerformanceStatsServicerecordExecution in interface PerformanceStatsServiceactionIdentifier - identifier for the executed actiondurationMillis - time it took the action to complete, in milliseconds@NotNull public @NotNull Map<ActionIdentifier,Stats> getAndClearStatistics()
PerformanceStatsServicegetAndClearStatistics in interface PerformanceStatsServiceCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.