Class TransportAutoPutMappingAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,AcknowledgedResponse>
org.elasticsearch.action.support.master.AcknowledgedTransportMasterNodeAction<PutMappingRequest>
org.elasticsearch.action.admin.indices.mapping.put.TransportAutoPutMappingAction
public class TransportAutoPutMappingAction
extends AcknowledgedTransportMasterNodeAction<PutMappingRequest>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAutoPutMappingAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataMappingService metadataMappingService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(PutMappingRequest request, ClusterState state) protected void
doExecute
(Task task, PutMappingRequest request, ActionListener<AcknowledgedResponse> listener) protected void
masterOperation
(PutMappingRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportAutoPutMappingAction
@Inject public TransportAutoPutMappingAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataMappingService metadataMappingService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, SystemIndices systemIndices)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, PutMappingRequest request, ActionListener<AcknowledgedResponse> listener) - Overrides:
doExecute
in classTransportMasterNodeAction<PutMappingRequest,
AcknowledgedResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<PutMappingRequest,
AcknowledgedResponse>
-
masterOperation
protected void masterOperation(PutMappingRequest request, ClusterState state, ActionListener<AcknowledgedResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<PutMappingRequest,
AcknowledgedResponse>
-