Module org.elasticsearch.server
Class MetadataDataStreamsService
java.lang.Object
org.elasticsearch.cluster.metadata.MetadataDataStreamsService
Handles data stream modification requests.
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataDataStreamsService
(ClusterService clusterService, IndicesService indicesService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
modifyDataStream
(ModifyDataStreamsAction.Request request, ActionListener<AcknowledgedResponse> listener) void
removeLifecycle
(List<String> dataStreamNames, TimeValue ackTimeout, TimeValue masterTimeout, ActionListener<AcknowledgedResponse> listener) Submits the task to remove the lifecycle from the requested data streams.void
setLifecycle
(List<String> dataStreamNames, DataStreamLifecycle lifecycle, TimeValue ackTimeout, TimeValue masterTimeout, ActionListener<AcknowledgedResponse> listener) Submits the task to set the lifecycle to the requested data streams.
-
Constructor Details
-
MetadataDataStreamsService
-
-
Method Details
-
modifyDataStream
public void modifyDataStream(ModifyDataStreamsAction.Request request, ActionListener<AcknowledgedResponse> listener) -
setLifecycle
public void setLifecycle(List<String> dataStreamNames, DataStreamLifecycle lifecycle, TimeValue ackTimeout, TimeValue masterTimeout, ActionListener<AcknowledgedResponse> listener) Submits the task to set the lifecycle to the requested data streams. -
removeLifecycle
public void removeLifecycle(List<String> dataStreamNames, TimeValue ackTimeout, TimeValue masterTimeout, ActionListener<AcknowledgedResponse> listener) Submits the task to remove the lifecycle from the requested data streams.
-