Class TransportTypesExistsAction
- 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<TypesExistsRequest,TypesExistsResponse>
-
- org.elasticsearch.action.admin.indices.exists.types.TransportTypesExistsAction
-
public class TransportTypesExistsAction extends TransportMasterNodeReadAction<TypesExistsRequest,TypesExistsResponse>
Types exists transport 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 TransportTypesExistsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(TypesExistsRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(TypesExistsRequest request, ClusterState state, ActionListener<TypesExistsResponse> listener)protected TypesExistsResponsenewResponse()-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation, read
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportTypesExistsAction
@Inject public TransportTypesExistsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Specified by:
executorin classTransportMasterNodeAction<TypesExistsRequest,TypesExistsResponse>
-
newResponse
protected TypesExistsResponse newResponse()
- Specified by:
newResponsein classTransportMasterNodeAction<TypesExistsRequest,TypesExistsResponse>- Returns:
- a new response instance. Typically this is used for serialization using the
Streamable.readFrom(StreamInput)method.
-
checkBlock
protected ClusterBlockException checkBlock(TypesExistsRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<TypesExistsRequest,TypesExistsResponse>
-
masterOperation
protected void masterOperation(TypesExistsRequest request, ClusterState state, ActionListener<TypesExistsResponse> listener)
- Specified by:
masterOperationin classTransportMasterNodeAction<TypesExistsRequest,TypesExistsResponse>
-
-