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