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

public static class IndexUtilsStats.Data extends Object implements IndexUtilsStats
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • getStatsName

      public String getStatsName()
      Specified by:
      getStatsName in interface com.atlassian.jira.util.stats.ManagedStats
    • createdSnapshot

      public void createdSnapshot(long timeInMillis)
      Specified by:
      createdSnapshot in interface IndexUtilsStats
      Parameters:
      timeInMillis - total creation time.
    • compressedSnapshot

      public void compressedSnapshot(long timeInMillis)
      Specified by:
      compressedSnapshot in interface IndexUtilsStats
      Parameters:
      timeInMillis - compression time.
    • uncompressedFilesProcessedSizeInMegabytes

      public void uncompressedFilesProcessedSizeInMegabytes(long sizeInMegabytes)
      Specified by:
      uncompressedFilesProcessedSizeInMegabytes in interface IndexUtilsStats
      Parameters:
      sizeInMegabytes - uncompressed files size in megabytes.
    • compressedSizeInMegabytes

      public void compressedSizeInMegabytes(long sizeInMegabytes)
      Specified by:
      compressedSizeInMegabytes in interface IndexUtilsStats
      Parameters:
      sizeInMegabytes - compressed files size in megabytes.
    • copyTime

      public void copyTime(long timeInMillis)
      Specified by:
      copyTime in interface IndexUtilsStats
      Parameters:
      timeInMillis - copy time.
    • deletionTime

      public void deletionTime(long timeInMillis)
      Specified by:
      deletionTime in interface IndexUtilsStats
      Parameters:
      timeInMillis - deletion time.
    • isParallelCreationAllowed

      public void isParallelCreationAllowed(boolean isAllowed)
      Specified by:
      isParallelCreationAllowed in interface IndexUtilsStats
      Parameters:
      isAllowed - stores the setting whether it is allowed to create snapshots in parallel.