org.elasticsearch.action.admin.indices.exists
Class TransportIndicesExistsAction

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<IndicesExistsRequest,IndicesExistsResponse>
              extended by org.elasticsearch.action.admin.indices.exists.TransportIndicesExistsAction

public class TransportIndicesExistsAction
extends TransportMasterNodeOperationAction<IndicesExistsRequest,IndicesExistsResponse>

Indices exists 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
TransportIndicesExistsAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool)
           
 
Method Summary
protected  ClusterBlockException checkBlock(IndicesExistsRequest request, ClusterState state)
           
protected  void doExecute(IndicesExistsRequest request, ActionListener<IndicesExistsResponse> listener)
           
protected  String executor()
           
protected  IndicesExistsResponse masterOperation(IndicesExistsRequest request, ClusterState state)
           
protected  IndicesExistsRequest newRequest()
           
protected  IndicesExistsResponse newResponse()
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
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

TransportIndicesExistsAction

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

executor

protected String executor()
Specified by:
executor in class TransportMasterNodeOperationAction<IndicesExistsRequest,IndicesExistsResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<IndicesExistsRequest,IndicesExistsResponse>

newRequest

protected IndicesExistsRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<IndicesExistsRequest,IndicesExistsResponse>

newResponse

protected IndicesExistsResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<IndicesExistsRequest,IndicesExistsResponse>

doExecute

protected void doExecute(IndicesExistsRequest request,
                         ActionListener<IndicesExistsResponse> listener)
Overrides:
doExecute in class TransportMasterNodeOperationAction<IndicesExistsRequest,IndicesExistsResponse>

checkBlock

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

masterOperation

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


Copyright © 2009-2012. All Rights Reserved.