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,ActionResponse.Empty>
org.elasticsearch.index.seqno.RetentionLeaseActions.Remove.TransportAction
- Enclosing class:
- RetentionLeaseActions.Remove
public static class RetentionLeaseActions.Remove.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, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportAction(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidasyncShardOperation(RetentionLeaseActions.RemoveRequest request, ShardId shardId, ActionListener<ActionResponse.Empty> listener)protected Writeable.Reader<ActionResponse.Empty>protected booleanprotected ActionResponse.EmptyshardOperation(RetentionLeaseActions.RemoveRequest 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>,ActionResponse.Empty>
-
asyncShardOperation
protected void asyncShardOperation(RetentionLeaseActions.RemoveRequest request, ShardId shardId, ActionListener<ActionResponse.Empty> listener)- Overrides:
asyncShardOperationin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,ActionResponse.Empty>
-
shardOperation
protected ActionResponse.Empty shardOperation(RetentionLeaseActions.RemoveRequest request, ShardId shardId)- Specified by:
shardOperationin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,ActionResponse.Empty>
-
getResponseReader
- Specified by:
getResponseReaderin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,ActionResponse.Empty>
-
resolveIndex
- Specified by:
resolveIndexin classTransportSingleShardAction<T extends org.elasticsearch.index.seqno.RetentionLeaseActions.Request<T>,ActionResponse.Empty>
-