org.elasticsearch.action.admin.indices.alias
Class TransportIndicesAliasesAction

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<IndicesAliasesRequest,IndicesAliasesResponse>
              extended by org.elasticsearch.action.admin.indices.alias.TransportIndicesAliasesAction

public class TransportIndicesAliasesAction
extends TransportMasterNodeOperationAction<IndicesAliasesRequest,IndicesAliasesResponse>


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
TransportIndicesAliasesAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexAliasesService indexAliasesService)
           
 
Method Summary
protected  ClusterBlockException checkBlock(IndicesAliasesRequest request, ClusterState state)
           
protected  String executor()
           
protected  IndicesAliasesResponse masterOperation(IndicesAliasesRequest request, ClusterState state)
           
protected  IndicesAliasesRequest newRequest()
           
protected  IndicesAliasesResponse 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

TransportIndicesAliasesAction

@Inject
public TransportIndicesAliasesAction(Settings settings,
                                            TransportService transportService,
                                            ClusterService clusterService,
                                            ThreadPool threadPool,
                                            MetaDataIndexAliasesService indexAliasesService)
Method Detail

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<IndicesAliasesRequest,IndicesAliasesResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<IndicesAliasesRequest,IndicesAliasesResponse>

newRequest

protected IndicesAliasesRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<IndicesAliasesRequest,IndicesAliasesResponse>

newResponse

protected IndicesAliasesResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<IndicesAliasesRequest,IndicesAliasesResponse>

checkBlock

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

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.