Class NodeStartIndexStats.MutableNodeStartIndexStats

java.lang.Object
com.atlassian.jira.cluster.NodeStartIndexStats.MutableNodeStartIndexStats
All Implemented Interfaces:
NodeStartIndexStats, com.atlassian.jira.util.stats.ManagedStats, Closeable, AutoCloseable
Enclosing interface:
NodeStartIndexStats

public static class NodeStartIndexStats.MutableNodeStartIndexStats extends Object implements NodeStartIndexStats
  • Constructor Details

    • MutableNodeStartIndexStats

      public MutableNodeStartIndexStats()
  • Method Details

    • getMinInterval

      public com.atlassian.jira.util.stats.JiraStats.Interval getMinInterval()
      Specified by:
      getMinInterval in interface com.atlassian.jira.util.stats.ManagedStats
    • getStatsName

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

      public void indexOnStartConfiguration(boolean isRebuildLocalIndex, boolean isPickSnapshotFromSharedHome, boolean isRequestIndexSnapshotFromAnotherNode, boolean isTriggerFullReindex, boolean isEnsureSnapshotExist)
      Specified by:
      indexOnStartConfiguration in interface NodeStartIndexStats
    • checkIndexOnStart

      public void checkIndexOnStart(boolean success, long timeInSeconds)
      Specified by:
      checkIndexOnStart in interface NodeStartIndexStats
    • getIndexByRebuildLocalIndex

      public void getIndexByRebuildLocalIndex(boolean success, long timeInSeconds)
      Specified by:
      getIndexByRebuildLocalIndex in interface NodeStartIndexStats
    • getIndexByPickIndexSnapshotFromSharedHome

      public void getIndexByPickIndexSnapshotFromSharedHome(String snapshotName, long timeInSeconds)
      Specified by:
      getIndexByPickIndexSnapshotFromSharedHome in interface NodeStartIndexStats
    • getIndexByRequestIndexSnapshotFromAnotherNode

      public void getIndexByRequestIndexSnapshotFromAnotherNode(boolean success, long timeInSeconds)
      Specified by:
      getIndexByRequestIndexSnapshotFromAnotherNode in interface NodeStartIndexStats
    • getIndexByPerformFullForegroundReindex

      public void getIndexByPerformFullForegroundReindex(boolean success, long timeInSeconds)
      Specified by:
      getIndexByPerformFullForegroundReindex in interface NodeStartIndexStats
    • ensureFreshIndexSnapshot

      public void ensureFreshIndexSnapshot(boolean snapshotExisted, boolean snapshotCreated, long timeInSeconds)
      Specified by:
      ensureFreshIndexSnapshot in interface NodeStartIndexStats