public class AtlassianSchedulerDirectoryPollerManager extends Object implements DirectoryPollerManager
Constructor and Description |
---|
AtlassianSchedulerDirectoryPollerManager(com.atlassian.scheduler.SchedulerService schedulerService) |
Modifier and Type | Method and Description |
---|---|
void |
triggerPoll(long directoryID,
SynchronisationMode syncMode)
Manually triggers the directory poller to immediately poll the directory and synchronise changes.
|
public AtlassianSchedulerDirectoryPollerManager(com.atlassian.scheduler.SchedulerService schedulerService)
public void triggerPoll(long directoryID, SynchronisationMode syncMode)
DirectoryPollerManager
DirectoryManager.isSynchronising(long)
.
If the directory does not exist or has no poller associated with it, this method
will do nothing.triggerPoll
in interface DirectoryPollerManager
directoryID
- directory ID.syncMode
- determines whether the poll only requests elements that have changed since a timestamp or if
it queries for the entire user base from the remote directory and determines changes locally.Copyright © 2020 Atlassian. All rights reserved.