Module org.elasticsearch.server
Class TransportUnpromotableShardRefreshAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
org.elasticsearch.action.support.HandledTransportAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
org.elasticsearch.action.support.broadcast.unpromotable.TransportBroadcastUnpromotableAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
org.elasticsearch.action.admin.indices.refresh.TransportUnpromotableShardRefreshAction
public class TransportUnpromotableShardRefreshAction
extends TransportBroadcastUnpromotableAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.broadcast.unpromotable.TransportBroadcastUnpromotableAction
clusterService, executor, shardStateAction, transportService, transportUnpromotableActionFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportUnpromotableShardRefreshAction(ClusterService clusterService, TransportService transportService, ShardStateAction shardStateAction, ActionFilters actionFilters, IndicesService indicesService, ThreadPool threadPool) TransportUnpromotableShardRefreshAction(ClusterService clusterService, TransportService transportService, ShardStateAction shardStateAction, ActionFilters actionFilters, IndicesService indicesService, ThreadPool threadPool, boolean useRefreshBlock) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionResponse.Emptyprotected voiddoExecute(Task task, UnpromotableShardRefreshRequest request, ActionListener<ActionResponse.Empty> listener) protected ActionResponse.Emptyprotected ActionResponse.Emptyprotected voidunpromotableShardOperation(Task task, UnpromotableShardRefreshRequest request, ActionListener<ActionResponse.Empty> responseListener) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
TransportUnpromotableShardRefreshAction
@Inject public TransportUnpromotableShardRefreshAction(ClusterService clusterService, TransportService transportService, ShardStateAction shardStateAction, ActionFilters actionFilters, IndicesService indicesService, ThreadPool threadPool) -
TransportUnpromotableShardRefreshAction
public TransportUnpromotableShardRefreshAction(ClusterService clusterService, TransportService transportService, ShardStateAction shardStateAction, ActionFilters actionFilters, IndicesService indicesService, ThreadPool threadPool, boolean useRefreshBlock)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, UnpromotableShardRefreshRequest request, ActionListener<ActionResponse.Empty> listener) - Overrides:
doExecutein classTransportBroadcastUnpromotableAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
-
unpromotableShardOperation
protected void unpromotableShardOperation(Task task, UnpromotableShardRefreshRequest request, ActionListener<ActionResponse.Empty> responseListener) -
combineUnpromotableShardResponses
protected ActionResponse.Empty combineUnpromotableShardResponses(List<ActionResponse.Empty> empties) -
readResponse
- Specified by:
readResponsein classTransportBroadcastUnpromotableAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
-
emptyResponse
- Specified by:
emptyResponsein classTransportBroadcastUnpromotableAction<UnpromotableShardRefreshRequest,ActionResponse.Empty>
-