Module org.elasticsearch.server
Class TransportAutoPutMappingAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<PutMappingRequest,AcknowledgedResponse>
org.elasticsearch.action.support.HandledTransportAction<PutMappingRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PutMappingRequest,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<PutMappingRequest>
org.elasticsearch.action.admin.indices.mapping.put.TransportAutoPutMappingAction
- All Implemented Interfaces:
ActionWithReservedState<PutMappingRequest>
public class TransportAutoPutMappingAction
extends AcknowledgedTransportMasterNodeAction<PutMappingRequest>
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportAutoPutMappingAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataMappingService metadataMappingService, ActionFilters actionFilters, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PutMappingRequest request, ClusterState state) protected voiddoExecute(Task task, PutMappingRequest request, ActionListener<AcknowledgedResponse> listener) protected voidmasterOperation(Task task, PutMappingRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportAutoPutMappingAction
@Inject public TransportAutoPutMappingAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataMappingService metadataMappingService, ActionFilters actionFilters, SystemIndices systemIndices)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, PutMappingRequest request, ActionListener<AcknowledgedResponse> listener) - Overrides:
doExecutein classTransportMasterNodeAction<PutMappingRequest,AcknowledgedResponse>
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PutMappingRequest,AcknowledgedResponse>
-
masterOperation
protected void masterOperation(Task task, PutMappingRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<PutMappingRequest,AcknowledgedResponse>
-