com.atlassian.bamboo.user
Class BambooUserRefreshJobScheduler
java.lang.Object
com.atlassian.bamboo.user.BambooUserRefreshJobScheduler
- All Implemented Interfaces:
- BambooScheduler
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.
Field Summary |
static java.lang.String |
JOB_NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_NAME
public static final java.lang.String JOB_NAME
- See Also:
- Constant Field Values
BambooUserRefreshJobScheduler
public BambooUserRefreshJobScheduler(org.quartz.Scheduler scheduler,
int refreshCheckSeconds)
initialiseSchedule
public void initialiseSchedule()
- Specified by:
initialiseSchedule
in interface BambooScheduler
Copyright © 2012 Atlassian. All Rights Reserved.