Class LexoRankHealOperation

java.lang.Object
com.atlassian.greenhopper.service.lexorank.LexoRankHealOperation

public class LexoRankHealOperation extends Object
Encapsulates a single rank heal operation in a command pattern.

A Heal operation is where two or more rows have the same rank and need to be made distinct without doing a balance operation.

First the rows to be healed are checked if they indeed contain duplicate rank values. If they don't, the operation completes without changing any rows. If there are duplicate rank values detected, the duplicating row's rank value will be changed.

This operation does not attempt to acquire a lock on the rows it is modifying.