Package org.opensearch.action.search
Class TransportCreatePitAction
java.lang.Object
org.opensearch.action.support.TransportAction<CreatePitRequest,CreatePitResponse>
org.opensearch.action.support.HandledTransportAction<CreatePitRequest,CreatePitResponse>
org.opensearch.action.search.TransportCreatePitAction
public class TransportCreatePitAction
extends HandledTransportAction<CreatePitRequest,CreatePitResponse>
Transport action for creating PIT reader context
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Request to create pit reader context with keep alivestatic class
Create pit reader context response which holds the contextId -
Field Summary
FieldsFields inherited from class org.opensearch.action.support.TransportAction
actionName, logger, taskManager
-
Constructor Summary
ConstructorsConstructorDescriptionTransportCreatePitAction
(TransportService transportService, ActionFilters actionFilters, SearchTransportService searchTransportService, ClusterService clusterService, TransportSearchAction transportSearchAction, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, CreatePitController createPitController) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExecute
(Task task, CreatePitRequest request, org.opensearch.core.action.ActionListener<CreatePitResponse> listener) Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
CREATE_PIT_ACTION
- See Also:
-
-
Constructor Details
-
TransportCreatePitAction
@Inject public TransportCreatePitAction(TransportService transportService, ActionFilters actionFilters, SearchTransportService searchTransportService, ClusterService clusterService, TransportSearchAction transportSearchAction, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, CreatePitController createPitController)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, CreatePitRequest request, org.opensearch.core.action.ActionListener<CreatePitResponse> listener) - Specified by:
doExecute
in classTransportAction<CreatePitRequest,
CreatePitResponse>
-