@Internal @ThreadSafe public interface PerformanceStatsService
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.
|
void recordExecution(@NotNull @NotNull ActionIdentifier actionIdentifier, long durationMillis)
actionIdentifier
- identifier for the executed actiondurationMillis
- time it took the action to complete, in milliseconds@NotNull @NotNull Map<ActionIdentifier,Stats> getAndClearStatistics()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.