Package com.atlassian.jira.cluster
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.cluster.NodeStartIndexStats
NodeStartIndexStats.MutableNodeStartIndexStats -
Field Summary
Fields inherited from interface com.atlassian.jira.util.stats.ManagedStats
STATS_NAME_REGEXFields inherited from interface com.atlassian.jira.cluster.NodeStartIndexStats
STATS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckIndexOnStart(boolean success, long timeInSeconds) voidensureFreshIndexSnapshot(boolean snapshotExisted, boolean snapshotCreated, long timeInSeconds) voidgetIndexByPerformFullForegroundReindex(boolean success, long timeInSeconds) voidgetIndexByPickIndexSnapshotFromSharedHome(String snapshotName, long timeInSeconds) voidgetIndexByRebuildLocalIndex(boolean success, long timeInSeconds) voidgetIndexByRequestIndexSnapshotFromAnotherNode(boolean success, long timeInSeconds) com.atlassian.jira.util.stats.JiraStats.IntervalvoidindexOnStartConfiguration(boolean isRebuildLocalIndex, boolean isPickSnapshotFromSharedHome, boolean isRequestIndexSnapshotFromAnotherNode, boolean isTriggerFullReindex, boolean isEnsureSnapshotExist) 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, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
-
Constructor Details
-
MutableNodeStartIndexStats
public MutableNodeStartIndexStats()
-
-
Method Details
-
getMinInterval
public com.atlassian.jira.util.stats.JiraStats.Interval getMinInterval()- Specified by:
getMinIntervalin interfacecom.atlassian.jira.util.stats.ManagedStats
-
getStatsName
- Specified by:
getStatsNamein interfacecom.atlassian.jira.util.stats.ManagedStats
-
indexOnStartConfiguration
public void indexOnStartConfiguration(boolean isRebuildLocalIndex, boolean isPickSnapshotFromSharedHome, boolean isRequestIndexSnapshotFromAnotherNode, boolean isTriggerFullReindex, boolean isEnsureSnapshotExist) - Specified by:
indexOnStartConfigurationin interfaceNodeStartIndexStats
-
checkIndexOnStart
public void checkIndexOnStart(boolean success, long timeInSeconds) - Specified by:
checkIndexOnStartin interfaceNodeStartIndexStats
-
getIndexByRebuildLocalIndex
public void getIndexByRebuildLocalIndex(boolean success, long timeInSeconds) - Specified by:
getIndexByRebuildLocalIndexin interfaceNodeStartIndexStats
-
getIndexByRequestIndexSnapshotFromAnotherNode
public void getIndexByRequestIndexSnapshotFromAnotherNode(boolean success, long timeInSeconds) - Specified by:
getIndexByRequestIndexSnapshotFromAnotherNodein interfaceNodeStartIndexStats
-
getIndexByPerformFullForegroundReindex
public void getIndexByPerformFullForegroundReindex(boolean success, long timeInSeconds) - Specified by:
getIndexByPerformFullForegroundReindexin interfaceNodeStartIndexStats
-
ensureFreshIndexSnapshot
public void ensureFreshIndexSnapshot(boolean snapshotExisted, boolean snapshotCreated, long timeInSeconds) - Specified by:
ensureFreshIndexSnapshotin interfaceNodeStartIndexStats
-