Class BambooUserRefreshJobScheduler

  extended by com.atlassian.bamboo.user.BambooUserRefreshJobScheduler
All Implemented Interfaces:

public class BambooUserRefreshJobScheduler
extends java.lang.Object
implements BambooScheduler

When user management is through Crowd we need to schedule a background refresh of the local cache. The Crowd client knows whether or not a refresh is necessary, and this job calls RestCrowdClientSingleton#refreshCacheIfNecessary() at regular intervals to check.

If there is no need to refresh, either because we are not using Crowd or because the current snapshot is fresh enough, then this call will return without performing any work.

Nested Class Summary
static class BambooUserRefreshJobScheduler.BambooUserRefreshJob
Field Summary
static java.lang.String JOB_NAME
Constructor Summary
BambooUserRefreshJobScheduler(org.quartz.Scheduler scheduler, int refreshCheckSeconds)
Method Summary
 void initialiseSchedule()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final java.lang.String JOB_NAME
See Also:
Constant Field Values
Constructor Detail


public BambooUserRefreshJobScheduler(org.quartz.Scheduler scheduler,
                                     int refreshCheckSeconds)
Method Detail


public void initialiseSchedule()
Specified by:
initialiseSchedule in interface BambooScheduler

Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.