public class TransportGetAction extends TransportShardSingleOperationAction<GetRequest,GetResponse>
TransportShardSingleOperationAction.InternalRequest
clusterService, transportService
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportGetAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected String |
executor() |
protected GetRequest |
newRequest() |
protected GetResponse |
newResponse() |
protected boolean |
resolveIndex() |
protected void |
resolveRequest(ClusterState state,
TransportShardSingleOperationAction.InternalRequest request) |
protected GetResponse |
shardOperation(GetRequest request,
ShardId shardId) |
protected ShardIterator |
shards(ClusterState state,
TransportShardSingleOperationAction.InternalRequest request) |
checkGlobalBlock, checkRequestBlock, doExecute, isSubAction
execute, execute, forceThreadedListener
nodeName
@Inject public TransportGetAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters)
protected String executor()
executor
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
protected boolean resolveIndex()
resolveIndex
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
protected ShardIterator shards(ClusterState state, TransportShardSingleOperationAction.InternalRequest request)
shards
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
protected void resolveRequest(ClusterState state, TransportShardSingleOperationAction.InternalRequest request)
resolveRequest
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
protected GetResponse shardOperation(GetRequest request, ShardId shardId) throws ElasticsearchException
shardOperation
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
ElasticsearchException
protected GetRequest newRequest()
newRequest
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
protected GetResponse newResponse()
newResponse
in class TransportShardSingleOperationAction<GetRequest,GetResponse>
Copyright © 2009–2015. All rights reserved.