Class TransportOpenIndexAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>
org.elasticsearch.action.admin.indices.open.TransportOpenIndexAction
public class TransportOpenIndexAction extends TransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>
Open index action
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportOpenIndexAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexStateService indexStateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(OpenIndexRequest request, ClusterState state)protected voiddoExecute(Task task, OpenIndexRequest request, ActionListener<OpenIndexResponse> listener)protected java.lang.Stringexecutor()protected voidmasterOperation(OpenIndexRequest request, ClusterState state, ActionListener<OpenIndexResponse> listener)protected OpenIndexResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
getMasterActionName, localExecute, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportOpenIndexAction
@Inject public TransportOpenIndexAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetadataIndexStateService indexStateService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>- Throws:
java.io.IOException
-
doExecute
protected void doExecute(Task task, OpenIndexRequest request, ActionListener<OpenIndexResponse> listener)- Overrides:
doExecutein classTransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>
-
masterOperation
protected void masterOperation(OpenIndexRequest request, ClusterState state, ActionListener<OpenIndexResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<OpenIndexRequest,OpenIndexResponse>
-