org.elasticsearch.action.delete.index
Class TransportShardDeleteAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
org.elasticsearch.action.delete.index.TransportShardDeleteAction
- All Implemented Interfaces:
- Action<ShardDeleteRequest,ShardDeleteResponse>
public class TransportShardDeleteAction
- extends TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportShardDeleteAction
@Inject
public TransportShardDeleteAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
IndicesService indicesService,
ThreadPool threadPool,
ShardStateAction shardStateAction)
checkWriteConsistency
protected boolean checkWriteConsistency()
- Specified by:
checkWriteConsistency
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
newRequestInstance
protected ShardDeleteRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
newResponseInstance
protected ShardDeleteResponse newResponseInstance()
- Specified by:
newResponseInstance
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
checkBlock
protected void checkBlock(ShardDeleteRequest request,
ClusterState state)
- Overrides:
checkBlock
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
shardOperationOnPrimary
protected ShardDeleteResponse shardOperationOnPrimary(ClusterState clusterState,
TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnPrimary
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
shardOperationOnReplica
protected void shardOperationOnReplica(TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnReplica
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>
shards
protected ShardsIterator shards(ClusterState clusterState,
ShardDeleteRequest request)
- Specified by:
shards
in class TransportShardReplicationOperationAction<ShardDeleteRequest,ShardDeleteResponse>