public class BambooUserRefreshJobScheduler extends 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 CrowdClientControl.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.
Modifier and Type | Class and Description |
---|---|
static class |
BambooUserRefreshJobScheduler.BambooUserRefreshJob |
Constructor and Description |
---|
BambooUserRefreshJobScheduler(org.quartz.Scheduler scheduler,
int refreshCheckSeconds) |
Modifier and Type | Method and Description |
---|---|
void |
initialiseSchedule() |
public static final String JOB_NAME
public BambooUserRefreshJobScheduler(org.quartz.Scheduler scheduler, int refreshCheckSeconds)
public void initialiseSchedule()
initialiseSchedule
in interface BambooScheduler
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.