Class TransportGetIndexAction
- java.lang.Object
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeReadAction<Request,Response>
-
- org.elasticsearch.action.support.master.info.TransportClusterInfoAction<GetIndexRequest,GetIndexResponse>
-
- org.elasticsearch.action.admin.indices.get.TransportGetIndexAction
-
public class TransportGetIndexAction extends TransportClusterInfoAction<GetIndexRequest,GetIndexResponse>
Get index action.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportGetIndexAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SettingsFilter settingsFilter, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService, IndexScopedSettings indexScopedSettings)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(GetIndexRequest request, ClusterState state)protected voiddoMasterOperation(GetIndexRequest request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<GetIndexResponse> listener)protected java.lang.Stringexecutor()protected GetIndexResponseread(StreamInput in)-
Methods inherited from class org.elasticsearch.action.support.master.info.TransportClusterInfoAction
masterOperation
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportGetIndexAction
@Inject public TransportGetIndexAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SettingsFilter settingsFilter, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService, IndexScopedSettings indexScopedSettings)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Overrides:
executorin classTransportClusterInfoAction<GetIndexRequest,GetIndexResponse>
-
checkBlock
protected ClusterBlockException checkBlock(GetIndexRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<GetIndexRequest,GetIndexResponse>
-
read
protected GetIndexResponse read(StreamInput in) throws java.io.IOException
- Specified by:
readin classTransportMasterNodeAction<GetIndexRequest,GetIndexResponse>- Throws:
java.io.IOException
-
doMasterOperation
protected void doMasterOperation(GetIndexRequest request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<GetIndexResponse> listener)
- Specified by:
doMasterOperationin classTransportClusterInfoAction<GetIndexRequest,GetIndexResponse>
-
-