org.elasticsearch.action.admin.indices.close
Class TransportCloseIndexAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>
              extended by org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction
All Implemented Interfaces:
Action<CloseIndexRequest,CloseIndexResponse>

public class TransportCloseIndexAction
extends TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>

Delete index action.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, threadPool, transportService
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportCloseIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataStateIndexService stateIndexService)
           
 
Method Summary
protected  void checkBlock(CloseIndexRequest request, ClusterState state)
           
protected  CloseIndexResponse masterOperation(CloseIndexRequest request, ClusterState state)
           
protected  CloseIndexRequest newRequest()
           
protected  CloseIndexResponse newResponse()
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute, localExecute, processBeforeDelegationToMaster
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
execute, execute
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportCloseIndexAction

@Inject
public TransportCloseIndexAction(Settings settings,
                                        TransportService transportService,
                                        ClusterService clusterService,
                                        ThreadPool threadPool,
                                        MetaDataStateIndexService stateIndexService)
Method Detail

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