org.elasticsearch.action.admin.indices.open
Class TransportOpenIndexAction

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<OpenIndexRequest,OpenIndexResponse>
              extended by org.elasticsearch.action.admin.indices.open.TransportOpenIndexAction

public class TransportOpenIndexAction
extends TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>

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
TransportOpenIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataStateIndexService stateIndexService)
           
 
Method Summary
protected  ClusterBlockException checkBlock(OpenIndexRequest request, ClusterState state)
           
protected  String executor()
           
protected  OpenIndexResponse masterOperation(OpenIndexRequest request, ClusterState state)
           
protected  OpenIndexRequest newRequest()
           
protected  OpenIndexResponse 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

TransportOpenIndexAction

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

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>

newRequest

protected OpenIndexRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>

newResponse

protected OpenIndexResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>

checkBlock

protected ClusterBlockException checkBlock(OpenIndexRequest request,
                                           ClusterState state)
Overrides:
checkBlock in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>

masterOperation

protected OpenIndexResponse masterOperation(OpenIndexRequest request,
                                            ClusterState state)
                                     throws ElasticSearchException
Specified by:
masterOperation in class TransportMasterNodeOperationAction<OpenIndexRequest,OpenIndexResponse>
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.