public static class NodeStartIndexStats.MutableNodeStartIndexStats extends Object implements NodeStartIndexStats
NodeStartIndexStats.MutableNodeStartIndexStats
STATS_NAME
STATS_NAME_REGEX
Constructor and Description |
---|
MutableNodeStartIndexStats() |
Modifier and Type | Method and Description |
---|---|
void |
checkIndexOnStart(boolean success,
long timeInSeconds) |
void |
ensureFreshIndexSnapshot(boolean snapshotExisted,
boolean snapshotCreated,
long timeInSeconds) |
void |
getIndexByPerformFullForegroundReindex(boolean success,
long timeInSeconds) |
void |
getIndexByPickIndexSnapshotFromSharedHome(String snapshotName,
long timeInSeconds) |
void |
getIndexByRebuildLocalIndex(boolean success,
long timeInSeconds) |
void |
getIndexByRequestIndexSnapshotFromAnotherNode(boolean success,
long timeInSeconds) |
JiraStats.Interval |
getMinInterval()
Note: override only if "this" stats are by nature rare (>> 5min)
|
String |
getStatsName()
Returns the name of the stats.
|
void |
indexOnStartConfiguration(boolean isRebuildLocalIndex,
boolean isPickSnapshotFromSharedHome,
boolean isRequestIndexSnapshotFromAnotherNode,
boolean isTriggerFullReindex,
boolean isEnsureSnapshotExist) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
addJiraStatsListener, close, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
public JiraStats.Interval getMinInterval()
ManagedStats
getMinInterval
in interface ManagedStats
public String getStatsName()
ManagedStats
ManagedStats.STATS_NAME_REGEX
.[JIRA-STATS] [<stats name>] snapshot stats
getStatsName
in interface ManagedStats
public void indexOnStartConfiguration(boolean isRebuildLocalIndex, boolean isPickSnapshotFromSharedHome, boolean isRequestIndexSnapshotFromAnotherNode, boolean isTriggerFullReindex, boolean isEnsureSnapshotExist)
indexOnStartConfiguration
in interface NodeStartIndexStats
public void checkIndexOnStart(boolean success, long timeInSeconds)
checkIndexOnStart
in interface NodeStartIndexStats
public void getIndexByRebuildLocalIndex(boolean success, long timeInSeconds)
getIndexByRebuildLocalIndex
in interface NodeStartIndexStats
public void getIndexByPickIndexSnapshotFromSharedHome(String snapshotName, long timeInSeconds)
getIndexByPickIndexSnapshotFromSharedHome
in interface NodeStartIndexStats
public void getIndexByRequestIndexSnapshotFromAnotherNode(boolean success, long timeInSeconds)
getIndexByRequestIndexSnapshotFromAnotherNode
in interface NodeStartIndexStats
public void getIndexByPerformFullForegroundReindex(boolean success, long timeInSeconds)
getIndexByPerformFullForegroundReindex
in interface NodeStartIndexStats
public void ensureFreshIndexSnapshot(boolean snapshotExisted, boolean snapshotCreated, long timeInSeconds)
ensureFreshIndexSnapshot
in interface NodeStartIndexStats
Copyright © 2002-2023 Atlassian. All Rights Reserved.