public class LexoRankBulkDeleteOperation extends Object
A delete rank operation can be performed for :
- All rank rows of a list of issues
Rows are divided into batches of 10 for deletion.
In order to delete a rank rows, a lock needs to be acquired on the rows before being able to delete them. This is done to ensure no other rank operation are operating on the rows to be deleted.
The delete operation consists of following steps :
1. Find the rows to be deleted 2. Acquire a lock on these rows 3. Check if the rows have not been modified since acquiring the lock on them 4. Delete the rows 5. Release the lock
If any of the steps fail, the algorithm be try again from the beginning after waiting for a small amount of random time.
Modifier and Type | Class and Description |
---|---|
static interface |
LexoRankBulkDeleteOperation.CompleteDeleteOperation |
static interface |
LexoRankBulkDeleteOperation.ForIssueOrRankField |
Modifier and Type | Method and Description |
---|---|
static LexoRankBulkDeleteOperation.ForIssueOrRankField |
builder(LexoRankDao lexoRankDao,
LexoRankStatisticsAgent lexoRankStatisticsAgent) |
LexoRankOperationOutcome<Void> |
execute() |
public static LexoRankBulkDeleteOperation.ForIssueOrRankField builder(LexoRankDao lexoRankDao, LexoRankStatisticsAgent lexoRankStatisticsAgent)
public LexoRankOperationOutcome<Void> execute()
Copyright © 2007–2025 Atlassian. All rights reserved.