public class TransportOpenIndexAction extends TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
clusterService, transportService
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportOpenIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataIndexStateService indexStateService,
NodeSettingsService nodeSettingsService,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkBlock(OpenIndexRequest request,
ClusterState state) |
protected void |
doExecute(OpenIndexRequest request,
ActionListener<OpenIndexResponse> listener) |
protected String |
executor() |
protected void |
masterOperation(OpenIndexRequest request,
ClusterState state,
ActionListener<OpenIndexResponse> listener) |
protected OpenIndexRequest |
newRequest() |
protected OpenIndexResponse |
newResponse() |
forceThreadedListener, localExecute, processBeforeDelegationToMaster
execute, execute
nodeName
@Inject public TransportOpenIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexStateService indexStateService, NodeSettingsService nodeSettingsService, ActionFilters actionFilters)
protected String executor()
executor
in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
protected OpenIndexRequest newRequest()
newRequest
in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
protected OpenIndexResponse newResponse()
newResponse
in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
protected void doExecute(OpenIndexRequest request, ActionListener<OpenIndexResponse> listener)
doExecute
in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
protected ClusterBlockException checkBlock(OpenIndexRequest request, ClusterState state)
checkBlock
in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
protected void masterOperation(OpenIndexRequest request, ClusterState state, ActionListener<OpenIndexResponse> listener) throws ElasticsearchException
masterOperation
in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
ElasticsearchException
Copyright © 2009–2015. All rights reserved.