Package org.elasticsearch.index.seqno
Class RetentionLeaseActions.Renew.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.single.shard.TransportSingleShardAction<T,ActionResponse.Empty>
org.elasticsearch.index.seqno.RetentionLeaseActions.Renew.TransportAction
- Enclosing class:
- RetentionLeaseActions.Renew
public static class RetentionLeaseActions.Renew.TransportAction
extends TransportSingleShardAction<T,ActionResponse.Empty>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
TransportSingleShardAction.InternalRequest
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
clusterService, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAction
(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
asyncShardOperation
(RetentionLeaseActions.RenewRequest request, ShardId shardId, ActionListener<ActionResponse.Empty> listener) protected final Writeable.Reader<ActionResponse.Empty>
protected boolean
protected ActionResponse.Empty
shardOperation
(RetentionLeaseActions.RenewRequest request, ShardId shardId) protected ShardsIterator
shards
(ClusterState state, TransportSingleShardAction<RetentionLeaseActions.RenewRequest, ActionResponse.Empty>.InternalRequest request) Returns the candidate shards to execute the operation on ornull
the execute the operation locally (the node that received the request)Methods inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
checkGlobalBlock, checkRequestBlock, doExecute, getExecutor, isSubAction, resolveRequest
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportAction
@Inject public TransportAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService)
-
-
Method Details
-
shards
protected ShardsIterator shards(ClusterState state, TransportSingleShardAction<RetentionLeaseActions.RenewRequest, ActionResponse.Empty>.InternalRequest request) Description copied from class:TransportSingleShardAction
Returns the candidate shards to execute the operation on ornull
the execute the operation locally (the node that received the request)- Specified by:
shards
in classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,
ActionResponse.Empty>
-
asyncShardOperation
protected void asyncShardOperation(RetentionLeaseActions.RenewRequest request, ShardId shardId, ActionListener<ActionResponse.Empty> listener) - Overrides:
asyncShardOperation
in classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,
ActionResponse.Empty>
-
shardOperation
protected ActionResponse.Empty shardOperation(RetentionLeaseActions.RenewRequest request, ShardId shardId) - Specified by:
shardOperation
in classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,
ActionResponse.Empty>
-
getResponseReader
- Specified by:
getResponseReader
in classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,
ActionResponse.Empty>
-
resolveIndex
- Specified by:
resolveIndex
in classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,
ActionResponse.Empty>
-