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

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.TransportAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>
              extended by org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction

public class TransportCloseIndexAction
extends TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>

Delete index action.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, transportService
 
Fields inherited from class org.elasticsearch.action.support.TransportAction
threadPool
 
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  ClusterBlockException checkBlock(CloseIndexRequest request, ClusterState state)
           
protected  String executor()
           
protected  CloseIndexResponse masterOperation(CloseIndexRequest request, ClusterState state)
           
protected  CloseIndexRequest newRequest()
           
protected  CloseIndexResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute, localExecute, processBeforeDelegationToMaster
 
Methods inherited from class org.elasticsearch.action.support.TransportAction
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

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.