org.elasticsearch.action.suggest
Class TransportSuggestRefreshAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
org.elasticsearch.action.suggest.TransportSuggestRefreshAction
public class TransportSuggestRefreshAction
- extends org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
| Fields inherited from class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction |
clusterService, threadPool, transportService |
| Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
componentSettings, logger, settings |
|
Constructor Summary |
TransportSuggestRefreshAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.indices.IndicesService indicesService)
|
| Methods inherited from class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction |
accumulateExceptions, doExecute, ignoreException, ignoreNonActiveExceptions |
| 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 |
TransportSuggestRefreshAction
@Inject
public TransportSuggestRefreshAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.indices.IndicesService indicesService)
transportAction
protected String transportAction()
- Specified by:
transportAction in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
executor
protected String executor()
- Specified by:
executor in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
newRequest
protected SuggestRefreshRequest newRequest()
- Specified by:
newRequest in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
newResponse
protected SuggestRefreshResponse newResponse(SuggestRefreshRequest request,
AtomicReferenceArray shardsResponses,
org.elasticsearch.cluster.ClusterState clusterState)
- Specified by:
newResponse in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
newShardRequest
protected ShardSuggestRefreshRequest newShardRequest()
- Specified by:
newShardRequest in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
newShardRequest
protected ShardSuggestRefreshRequest newShardRequest(org.elasticsearch.cluster.routing.ShardRouting shard,
SuggestRefreshRequest request)
- Specified by:
newShardRequest in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
newShardResponse
protected ShardSuggestRefreshResponse newShardResponse()
- Specified by:
newShardResponse in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
shardOperation
protected ShardSuggestRefreshResponse shardOperation(ShardSuggestRefreshRequest request)
throws org.elasticsearch.ElasticSearchException
- Specified by:
shardOperation in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
- Throws:
org.elasticsearch.ElasticSearchException
shards
protected org.elasticsearch.cluster.routing.GroupShardsIterator shards(org.elasticsearch.cluster.ClusterState clusterState,
SuggestRefreshRequest request,
String[] concreteIndices)
- Specified by:
shards in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
checkGlobalBlock
protected org.elasticsearch.cluster.block.ClusterBlockException checkGlobalBlock(org.elasticsearch.cluster.ClusterState state,
SuggestRefreshRequest request)
- Specified by:
checkGlobalBlock in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
checkRequestBlock
protected org.elasticsearch.cluster.block.ClusterBlockException checkRequestBlock(org.elasticsearch.cluster.ClusterState state,
SuggestRefreshRequest request,
String[] concreteIndices)
- Specified by:
checkRequestBlock in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestRefreshRequest,SuggestRefreshResponse,ShardSuggestRefreshRequest,ShardSuggestRefreshResponse>
Copyright © 2011-2012. All Rights Reserved.