Interface IndexUtilsStats
- All Superinterfaces:
AutoCloseable,Closeable,com.atlassian.jira.util.stats.ManagedStats
- All Known Implementing Classes:
IndexUtilsStats.Data
Example: { "_statsName":"IndexUtilsStats", "_statsType":"total", "_time":"2023-02-02T16:25:24.084Z", "_timestamp":1675355124084, "_duration":"PT28M47.187S", "_invocations":15, "_statsOverhead":"n/a", "createdSnapshotTimeInMillis":{"count":2, "min":545, "max":633, "sum":1178, "avg":589, "distributionCounter":{"10000":2, "60000":0, "300000":0, "600000":0, "1800000":0, "3600000":0, "18000000":0}}, "compressedSnapshotTimeInMillis":{"count":2, "min":208, "max":444, "sum":652, "avg":326, "distributionCounter":{"10000":2, "60000":0, "300000":0, "600000":0, "1800000":0, "3600000":0, "18000000":0}}, "uncompressedFilesProcessedSizeInMegabytes":{"count":2, "min":0, "max":0, "sum":0, "avg":0, "distributionCounter":{"1000000000":2, "2000000000":0, "5000000000":0, "10000000000":0, "20000000000":0, "50000000000":0, "100000000000":0, "200000000000":0, "500000000000":0}}, "compressedSizeInMegabytes":{"count":2, "min":0, "max":0, "sum":0, "avg":0, "distributionCounter":{"1000000000":2, "2000000000":0, "5000000000":0, "10000000000":0, "20000000000":0, "50000000000":0, "100000000000":0, "200000000000":0, "500000000000":0}}, "copyTimeInMillis":{"count":2, "min":1, "max":6, "sum":7, "avg":3, "distributionCounter":{"10000":2, "60000":0, "300000":0, "600000":0, "1800000":0, "3600000":0, "18000000":0}}, "deletionTimeInMillis":{"count":2, "min":2, "max":3, "sum":5, "avg":2, "distributionCounter":{"10000":2, "60000":0, "300000":0, "600000":0, "1800000":0, "3600000":0, "18000000":0}}, "isParallelCreationAllowed":false }
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long[]static final long[]Fields inherited from interface com.atlassian.jira.util.stats.ManagedStats
STATS_NAME_REGEX -
Method Summary
Modifier and TypeMethodDescriptionvoidcompressedSizeInMegabytes(long sizeInMegabytes) voidcompressedSnapshot(long timeInMillis) voidcopyTime(long timeInMillis) voidcreatedSnapshot(long timeInMillis) voiddeletionTime(long timeInMillis) voidisParallelCreationAllowed(boolean isAllowed) voiduncompressedFilesProcessedSizeInMegabytes(long sizeInMegabytes) Methods inherited from interface com.atlassian.jira.util.stats.ManagedStats
addJiraStatsListener, close, getMinInterval, getStatsName, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
-
Field Details
-
SNAPSHOT_TIME_DISTRIBUTION_IN_MILLIS
static final long[] SNAPSHOT_TIME_DISTRIBUTION_IN_MILLIS -
SNAPSHOT_SIZE_DISTRIBUTION_IN_MEGABYTES
static final long[] SNAPSHOT_SIZE_DISTRIBUTION_IN_MEGABYTES
-
-
Method Details
-
createdSnapshot
void createdSnapshot(long timeInMillis) - Parameters:
timeInMillis- total creation time.
-
compressedSnapshot
void compressedSnapshot(long timeInMillis) - Parameters:
timeInMillis- compression time.
-
uncompressedFilesProcessedSizeInMegabytes
void uncompressedFilesProcessedSizeInMegabytes(long sizeInMegabytes) - Parameters:
sizeInMegabytes- uncompressed files size in megabytes.
-
compressedSizeInMegabytes
void compressedSizeInMegabytes(long sizeInMegabytes) - Parameters:
sizeInMegabytes- compressed files size in megabytes.
-
copyTime
void copyTime(long timeInMillis) - Parameters:
timeInMillis- copy time.
-
deletionTime
void deletionTime(long timeInMillis) - Parameters:
timeInMillis- deletion time.
-
isParallelCreationAllowed
void isParallelCreationAllowed(boolean isAllowed) - Parameters:
isAllowed- stores the setting whether it is allowed to create snapshots in parallel.
-