|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.lexorank.balance.LexoRankBalancingService
@Service public class LexoRankBalancingService
Service that handles balancing of lexorank.
Field Summary | |
---|---|
protected LoggerWrapper |
log
|
Constructor Summary | |
---|---|
LexoRankBalancingService()
|
Method Summary | |
---|---|
void |
initialise()
Initialise the service. |
boolean |
isShutdown()
Check to see if JIRA Agile is in the process of or has been shutdown. |
void |
onLexoRankEvent(LexoRankBalanceEvent event)
Handle re-rank events, and schedule a re-balance as necessary. |
void |
onSpringContextStarted()
|
void |
onSpringContextStopped()
|
void |
pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent evt)
|
boolean |
rankingOperationsDisabled(java.lang.Long fieldId)
Check to see if rank operations are disabled |
ServiceOutcome<java.lang.Void> |
requestFullBalance()
Schedule a full balance. |
void |
submitScheduledBalance()
Request a scheduled balance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final LoggerWrapper log
Constructor Detail |
---|
public LexoRankBalancingService()
Method Detail |
---|
@PostConstruct public void onSpringContextStarted()
@PreDestroy public void onSpringContextStopped()
public void initialise()
@EventListener public void pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent evt)
public boolean isShutdown()
@EventListener public void onLexoRankEvent(LexoRankBalanceEvent event)
event
- is the rank event.public boolean rankingOperationsDisabled(java.lang.Long fieldId)
fieldId
- the RANK fieldId
public ServiceOutcome<java.lang.Void> requestFullBalance()
public void submitScheduledBalance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |