Module org.elasticsearch.server
Class FileSettingsService.FileSettingsHealthTracker
java.lang.Object
org.elasticsearch.reservedstate.service.FileSettingsService.FileSettingsHealthTracker
- Enclosing class:
FileSettingsService
Houses the current
FileSettingsService.FileSettingsHealthInfo and provides a means to publish it to the health node.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWe want a length limit so we don't blow past the indexing limit in the case of a long description string. -
Constructor Summary
ConstructorsConstructorDescriptionFileSettingsHealthTracker(Settings settings, FileSettingsHealthIndicatorPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfailureOccurred(String description) voidpublish()Sends the current health info to the health node.voidvoidvoid
-
Field Details
-
DESCRIPTION_LENGTH_LIMIT_KEY
We want a length limit so we don't blow past the indexing limit in the case of a long description string. This is anOperatorDynamicsetting so that if the truncation hampers troubleshooting efforts, the operator could override it and retry the operation without necessarily restarting the cluster.- See Also:
-
-
Constructor Details
-
FileSettingsHealthTracker
-
-
Method Details
-
getCurrentInfo
-
startOccurred
public void startOccurred() -
stopOccurred
public void stopOccurred() -
changeOccurred
public void changeOccurred() -
successOccurred
public void successOccurred() -
failureOccurred
-
publish
public void publish()Sends the current health info to the health node.
-