Interface IndexSnapshotOperatorStats
- All Superinterfaces:
- AutoCloseable,- Closeable,- com.atlassian.jira.util.stats.ManagedStats
- All Known Implementing Classes:
- IndexSnapshotOperatorStats.Data
Example: { "_statsName":"IndexSnapshotOperatorStats", "_statsType":"total", "_time":"2023-02-02T19:00:00.268Z", "_timestamp":1675364400268, "_duration":"PT2H46M28.21S", "_invocations":1, "_statsOverhead":"n/a", "numberOfCreationAttempts":{"count":1, "min":1, "max":1, "sum":1, "avg":1, "distributionCounter":{"1":1, "2":0, "5":0, "10":0, "20":0, "50":0, "100":0, "200":0}}, "numberOfSuccessfulAttempts":{"value":0}, "numberOfErrorAttempts":{"value":0}, "numberOfBlockedAttempts":{"value":0}, "numberOfPollingAttempts":{"value":0}, "waitingTimeInSeconds":{"count":0, "min":0, "max":0, "sum":0, "avg":0, "distributionCounter":{"60":0, "120":0, "300":0, "600":0, "1800":0, "3600":0, "7200":0}}, "numberOfCreationAttemptsByThreadCacheEvicted":false, "numberOfPollingAttemptsByThreadCacheEvicted":false, "numberOfCreationAttemptsByThread":{}, "numberOfPollingAttemptsByThread":{} }
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from interface com.atlassian.jira.util.stats.ManagedStatsSTATS_NAME_REGEX
- 
Method SummaryModifier and TypeMethodDescriptionvoidnumber of times snapshot creation was completed by retry condition being no longer met.voidtotalNumberOfCreationAttempts(int creationAttempts) voidnumber of times snapshot creation was completed with error.voidtotalNumberOfPollingAttempts(int pollingAttempts) voidnumber of times snapshot creation was completed with success.voidtotalWaitingTimeInSeconds(long waitingTimeInSeconds) Methods inherited from interface com.atlassian.jira.util.stats.ManagedStatsaddJiraStatsListener, close, getMinInterval, getStatsName, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
- 
Method Details- 
totalNumberOfCreationAttemptsvoid totalNumberOfCreationAttempts(int creationAttempts) - Parameters:
- creationAttempts- number of times snapshot creation was attempted.
 
- 
totalNumberOfSuccessfulAttemptsvoid totalNumberOfSuccessfulAttempts()number of times snapshot creation was completed with success.
- 
totalNumberOfErrorAttemptsvoid totalNumberOfErrorAttempts()number of times snapshot creation was completed with error.
- 
totalNumberOfBlockedAttemptsvoid totalNumberOfBlockedAttempts()number of times snapshot creation was completed by retry condition being no longer met.
- 
totalNumberOfPollingAttemptsvoid totalNumberOfPollingAttempts(int pollingAttempts) - Parameters:
- pollingAttempts- number of times status of snapshot creation was polled to check if we can proceed with another creation attempt.
 
- 
totalWaitingTimeInSecondsvoid totalWaitingTimeInSeconds(long waitingTimeInSeconds) - Parameters:
- waitingTimeInSeconds- total time in seconds we were waiting for another process(es) to complete snapshot creation.
 
 
-