Module org.elasticsearch.server
Class RepositoriesHealthTracker
java.lang.Object
org.elasticsearch.health.node.tracker.HealthTracker<RepositoriesHealthInfo>
org.elasticsearch.health.node.tracker.RepositoriesHealthTracker
Determines the health of repositories on this node.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToRequestBuilder(UpdateHealthInfoCacheAction.Request.Builder builder, RepositoriesHealthInfo healthInfo) Add the health info to the request builder.protected RepositoriesHealthInfoDetermine the health of the repositories on this node.Methods inherited from class org.elasticsearch.health.node.tracker.HealthTracker
addToRequestBuilder, checkHealthChanged, getLastDeterminedHealth, reset
-
Constructor Details
-
RepositoriesHealthTracker
-
-
Method Details
-
determineCurrentHealth
Determine the health of the repositories on this node. Do so by checking the current collection of registered repositories.- Specified by:
determineCurrentHealthin classHealthTracker<RepositoriesHealthInfo>- Returns:
- the current repositories health on this node.
-
addToRequestBuilder
protected void addToRequestBuilder(UpdateHealthInfoCacheAction.Request.Builder builder, RepositoriesHealthInfo healthInfo) Description copied from class:HealthTrackerAdd the health info to the request builder.- Specified by:
addToRequestBuilderin classHealthTracker<RepositoriesHealthInfo>- Parameters:
builder- the builder to add the health info to.healthInfo- the health info to add.
-