org.elasticsearch.action.admin.cluster.reroute
Class TransportClusterRerouteAction

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<ClusterRerouteRequest,ClusterRerouteResponse>
              extended by org.elasticsearch.action.admin.cluster.reroute.TransportClusterRerouteAction

public class TransportClusterRerouteAction
extends TransportMasterNodeOperationAction<ClusterRerouteRequest,ClusterRerouteResponse>


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
TransportClusterRerouteAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, AllocationService allocationService)
           
 
Method Summary
protected  String executor()
           
protected  ClusterRerouteResponse masterOperation(ClusterRerouteRequest request, ClusterState state)
           
protected  ClusterRerouteRequest newRequest()
           
protected  ClusterRerouteResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
checkBlock, 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

TransportClusterRerouteAction

@Inject
public TransportClusterRerouteAction(Settings settings,
                                            TransportService transportService,
                                            ClusterService clusterService,
                                            ThreadPool threadPool,
                                            AllocationService allocationService)
Method Detail

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<ClusterRerouteRequest,ClusterRerouteResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<ClusterRerouteRequest,ClusterRerouteResponse>

newRequest

protected ClusterRerouteRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<ClusterRerouteRequest,ClusterRerouteResponse>

newResponse

protected ClusterRerouteResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<ClusterRerouteRequest,ClusterRerouteResponse>

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.