Module org.elasticsearch.server
Class DataStreamFailureStoreSettings
java.lang.Object
org.elasticsearch.cluster.metadata.DataStreamFailureStoreSettings
Holder for the data stream global settings relating to the data stream failure store. This defines, validates, and monitors the settings.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ClusterSettings clusterSettings) Creates an instance and initialises the cluster settings listeners.boolean
Returns whether the settings indicate that the failure store should be enabled by the cluster settings for the given name.
-
Field Details
-
DATA_STREAM_FAILURE_STORED_ENABLED_SETTING
-
-
Method Details
-
create
Creates an instance and initialises the cluster settings listeners.- Parameters:
clusterSettings
- The cluster settings to initialize the instance from and to watch for updates to
-
failureStoreEnabledForDataStreamName
Returns whether the settings indicate that the failure store should be enabled by the cluster settings for the given name.- Parameters:
name
- The data stream name
-