org.elasticsearch.action.admin.indices.create
Class TransportCreateIndexAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
org.elasticsearch.action.admin.indices.create.TransportCreateIndexAction
- All Implemented Interfaces:
- Action<CreateIndexRequest,CreateIndexResponse>
public class TransportCreateIndexAction
- extends TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
Create index action.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportCreateIndexAction
@Inject
public TransportCreateIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataCreateIndexService createIndexService)
executor
protected java.lang.String executor()
- Specified by:
executor
in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
newRequest
protected CreateIndexRequest newRequest()
- Specified by:
newRequest
in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
newResponse
protected CreateIndexResponse newResponse()
- Specified by:
newResponse
in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
checkBlock
protected ClusterBlockException checkBlock(CreateIndexRequest request,
ClusterState state)
- Overrides:
checkBlock
in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
masterOperation
protected CreateIndexResponse masterOperation(CreateIndexRequest request,
ClusterState state)
throws ElasticSearchException
- Specified by:
masterOperation
in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
- Throws:
ElasticSearchException