Package org.elasticsearch.index.seqno
Class RetentionLeaseActions.Remove.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.single.shard.TransportSingleShardAction<T,RetentionLeaseActions.Response>
org.elasticsearch.index.seqno.RetentionLeaseActions.Remove.TransportAction
- Enclosing class:
- RetentionLeaseActions.Remove
public static class RetentionLeaseActions.Remove.TransportAction extends TransportSingleShardAction<T,RetentionLeaseActions.Response>
-
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, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
Constructors Constructor Description TransportAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService) -
Method Summary
Modifier and Type Method Description protected voidasyncShardOperation(T request, ShardId shardId, ActionListener<RetentionLeaseActions.Response> listener)protected Writeable.Reader<RetentionLeaseActions.Response>getResponseReader()protected booleanresolveIndex(T request)protected RetentionLeaseActions.ResponseshardOperation(T request, ShardId shardId)protected ShardsIteratorshards(ClusterState state, TransportSingleShardAction.InternalRequest request)Returns the candidate shards to execute the operation on ornullthe 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, resolveRequestMethods 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.InternalRequest request)Description copied from class:TransportSingleShardActionReturns the candidate shards to execute the operation on ornullthe execute the operation locally (the node that received the request)- Specified by:
shardsin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,RetentionLeaseActions.Response>
-
asyncShardOperation
protected void asyncShardOperation(T request, ShardId shardId, ActionListener<RetentionLeaseActions.Response> listener)- Overrides:
asyncShardOperationin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,RetentionLeaseActions.Response>
-
shardOperation
- Specified by:
shardOperationin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,RetentionLeaseActions.Response>
-
getResponseReader
- Specified by:
getResponseReaderin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,RetentionLeaseActions.Response>
-
resolveIndex
protected boolean resolveIndex(T request)- Specified by:
resolveIndexin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,RetentionLeaseActions.Response>
-