Class TransportBroadcastAction.AsyncBroadcastAction
java.lang.Object
org.elasticsearch.action.support.broadcast.TransportBroadcastAction.AsyncBroadcastAction
- Enclosing class:
- TransportBroadcastAction<Request extends BroadcastRequest<Request>,
Response extends BroadcastResponse, ShardRequest extends BroadcastShardRequest, ShardResponse extends BroadcastShardResponse>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AsyncBroadcastAction
(Task task, Request request, ActionListener<Response> listener) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
onOperation
(ShardRouting shard, int shardIndex, ShardResponse response) protected void
performOperation
(ShardIterator shardIt, ShardRouting shard, int shardIndex) protected void
sendShardRequest
(DiscoveryNode node, ShardRequest shardRequest, ActionListener<ShardResponse> listener) protected AtomicReferenceArray<Object>
void
start()
-
Field Details
-
shardsResponses
-
-
Constructor Details
-
AsyncBroadcastAction
-
-
Method Details
-
start
public void start() -
performOperation
-
sendShardRequest
protected void sendShardRequest(DiscoveryNode node, ShardRequest shardRequest, ActionListener<ShardResponse> listener) -
onOperation
-
shardsResponses
-
finishHim
protected void finishHim()
-