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