public abstract class TransportBroadcastAction<Request extends BroadcastRequest,Response extends BroadcastResponse,ShardRequest extends BroadcastShardRequest,ShardResponse extends BroadcastShardResponse> extends HandledTransportAction<Request,Response>
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected class |
TransportBroadcastAction.AsyncBroadcastAction |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected ClusterService |
clusterService |
protected TransportService |
transportService |
actionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPooldeprecationLogger, logger, settings| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
TransportBroadcastAction(Settings settings,
String actionName,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
Class<Request> request,
Class<ShardRequest> shardRequest,
String shardExecutor) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract ClusterBlockException |
checkGlobalBlock(ClusterState state,
Request request) |
protected abstract ClusterBlockException |
checkRequestBlock(ClusterState state,
Request request,
String[] concreteIndices) |
protected void |
doExecute(Request request,
ActionListener<Response> listener) |
protected void |
doExecute(Task task,
Request request,
ActionListener<Response> listener) |
protected abstract Response |
newResponse(Request request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected abstract ShardRequest |
newShardRequest(int numShards,
ShardRouting shard,
Request request) |
protected abstract ShardResponse |
newShardResponse() |
protected abstract ShardResponse |
shardOperation(ShardRequest request) |
protected ShardResponse |
shardOperation(ShardRequest request,
Task task) |
protected abstract GroupShardsIterator |
shards(ClusterState clusterState,
Request request,
String[] concreteIndices)
Determines the shards this operation will be executed on.
|
execute, execute, execute, executelogDeprecatedSetting, logRemovedSetting, nodeNameprotected final ClusterService clusterService
protected final TransportService transportService
protected TransportBroadcastAction(Settings settings, String actionName, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Class<Request> request, Class<ShardRequest> shardRequest, String shardExecutor)
protected void doExecute(Task task, Request request, ActionListener<Response> listener)
doExecute クラス内 TransportAction<Request extends BroadcastRequest,Response extends BroadcastResponse>protected final void doExecute(Request request, ActionListener<Response> listener)
doExecute クラス内 TransportAction<Request extends BroadcastRequest,Response extends BroadcastResponse>protected abstract Response newResponse(Request request, AtomicReferenceArray shardsResponses, ClusterState clusterState)
protected abstract ShardRequest newShardRequest(int numShards, ShardRouting shard, Request request)
protected abstract ShardResponse newShardResponse()
protected abstract ShardResponse shardOperation(ShardRequest request)
protected ShardResponse shardOperation(ShardRequest request, Task task)
protected abstract GroupShardsIterator shards(ClusterState clusterState, Request request, String[] concreteIndices)
protected abstract ClusterBlockException checkGlobalBlock(ClusterState state, Request request)
protected abstract ClusterBlockException checkRequestBlock(ClusterState state, Request request, String[] concreteIndices)
Copyright © 2009–2016. All rights reserved.