org.elasticsearch.action.percolate
Class TransportPercolateAction

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.single.custom.TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>
              extended by org.elasticsearch.action.percolate.TransportPercolateAction

public class TransportPercolateAction
extends TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.custom.TransportSingleCustomOperationAction
TransportSingleCustomOperationAction.ShardSingleOperationRequest
 
Field Summary
 
Fields inherited from class org.elasticsearch.action.support.single.custom.TransportSingleCustomOperationAction
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
TransportPercolateAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService)
           
 
Method Summary
protected  ClusterBlockException checkGlobalBlock(ClusterState state, PercolateRequest request)
           
protected  ClusterBlockException checkRequestBlock(ClusterState state, PercolateRequest request)
           
protected  String executor()
           
protected  PercolateRequest newRequest()
           
protected  PercolateResponse newResponse()
           
protected  PercolateResponse shardOperation(PercolateRequest request, int shardId)
           
protected  ShardsIterator shards(ClusterState clusterState, PercolateRequest request)
          Can return null to execute on this local node.
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.single.custom.TransportSingleCustomOperationAction
doExecute
 
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

TransportPercolateAction

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

executor

protected String executor()
Specified by:
executor in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

newRequest

protected PercolateRequest newRequest()
Specified by:
newRequest in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

newResponse

protected PercolateResponse newResponse()
Specified by:
newResponse in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

checkGlobalBlock

protected ClusterBlockException checkGlobalBlock(ClusterState state,
                                                 PercolateRequest request)
Specified by:
checkGlobalBlock in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

checkRequestBlock

protected ClusterBlockException checkRequestBlock(ClusterState state,
                                                  PercolateRequest request)
Specified by:
checkRequestBlock in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

shards

protected ShardsIterator shards(ClusterState clusterState,
                                PercolateRequest request)
Description copied from class: TransportSingleCustomOperationAction
Can return null to execute on this local node.

Specified by:
shards in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>

shardOperation

protected PercolateResponse shardOperation(PercolateRequest request,
                                           int shardId)
                                    throws ElasticSearchException
Specified by:
shardOperation in class TransportSingleCustomOperationAction<PercolateRequest,PercolateResponse>
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.