org.elasticsearch.action.admin.indices.close
Class TransportCloseIndexAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>
org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction
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)
executor
protected String executor()
- Specified by:
executor
in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>
transportAction
protected 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 ClusterBlockException 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
Copyright © 2009-2012. All Rights Reserved.