com.atlassian.greenhopper.service.lexorank.balance
Class LexoRankBalancer

java.lang.Object
  extended by com.atlassian.greenhopper.service.lexorank.balance.LexoRankBalancer

@Service
public class LexoRankBalancer
extends java.lang.Object

A lexorank balance service.


Field Summary
protected  LoggerWrapper log
           
 
Constructor Summary
LexoRankBalancer()
           
 
Method Summary
 ServiceOutcome<java.lang.Void> balanceFieldIds(java.util.Collection<java.lang.Long> fieldIds)
          Performs a lexorank rebalance for a given list of fieldIds.
 ServiceOutcome<java.lang.Void> fullBalance()
          Performs a full LexoRank balance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final LoggerWrapper log
Constructor Detail

LexoRankBalancer

public LexoRankBalancer()
Method Detail

fullBalance

public ServiceOutcome<java.lang.Void> fullBalance()
Performs a full LexoRank balance.

Returns:
outcome of the balance operation.

balanceFieldIds

public ServiceOutcome<java.lang.Void> balanceFieldIds(java.util.Collection<java.lang.Long> fieldIds)
Performs a lexorank rebalance for a given list of fieldIds.

Parameters:
fieldIds - are the fieldIds to balance for.
Returns:
the outcome of the operation.


Copyright © 2007-2014 Atlassian. All Rights Reserved.