Package com.atlassian.jira.index.ha
Class IndexUtilsStats.Data
java.lang.Object
com.atlassian.jira.index.ha.IndexUtilsStats.Data
- All Implemented Interfaces:
IndexUtilsStats,com.atlassian.jira.util.stats.ManagedStats,Closeable,AutoCloseable
- Enclosing interface:
- IndexUtilsStats
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.index.ha.IndexUtilsStats
IndexUtilsStats.Data -
Field Summary
Fields inherited from interface com.atlassian.jira.index.ha.IndexUtilsStats
SNAPSHOT_SIZE_DISTRIBUTION_IN_MEGABYTES, SNAPSHOT_TIME_DISTRIBUTION_IN_MILLISFields inherited from interface com.atlassian.jira.util.stats.ManagedStats
STATS_NAME_REGEX -
Constructor Summary
Constructors -
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.util.stats.ManagedStats
addJiraStatsListener, close, getMinInterval, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
getStatsName
- Specified by:
getStatsNamein interfacecom.atlassian.jira.util.stats.ManagedStats
-
createdSnapshot
public void createdSnapshot(long timeInMillis) - Specified by:
createdSnapshotin interfaceIndexUtilsStats- Parameters:
timeInMillis- total creation time.
-
compressedSnapshot
public void compressedSnapshot(long timeInMillis) - Specified by:
compressedSnapshotin interfaceIndexUtilsStats- Parameters:
timeInMillis- compression time.
-
uncompressedFilesProcessedSizeInMegabytes
public void uncompressedFilesProcessedSizeInMegabytes(long sizeInMegabytes) - Specified by:
uncompressedFilesProcessedSizeInMegabytesin interfaceIndexUtilsStats- Parameters:
sizeInMegabytes- uncompressed files size in megabytes.
-
compressedSizeInMegabytes
public void compressedSizeInMegabytes(long sizeInMegabytes) - Specified by:
compressedSizeInMegabytesin interfaceIndexUtilsStats- Parameters:
sizeInMegabytes- compressed files size in megabytes.
-
copyTime
public void copyTime(long timeInMillis) - Specified by:
copyTimein interfaceIndexUtilsStats- Parameters:
timeInMillis- copy time.
-
deletionTime
public void deletionTime(long timeInMillis) - Specified by:
deletionTimein interfaceIndexUtilsStats- Parameters:
timeInMillis- deletion time.
-
isParallelCreationAllowed
public void isParallelCreationAllowed(boolean isAllowed) - Specified by:
isParallelCreationAllowedin interfaceIndexUtilsStats- Parameters:
isAllowed- stores the setting whether it is allowed to create snapshots in parallel.
-