Interface DirectoryPoller
- All Superinterfaces:
DirectoryMonitor
- All Known Implementing Classes:
DbCachingDirectoryPoller
Allows polling for remote directory mutations.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default cache synchronisation interval in seconds. -
Method Summary
Modifier and TypeMethodDescriptionlong
void
pollChanges
(SynchronisationMode syncMode) Polls the directory for mutations and synchronises accordingly.Methods inherited from interface com.atlassian.crowd.directory.monitor.DirectoryMonitor
getDirectoryID
-
Field Details
-
DEFAULT_CACHE_SYNCHRONISE_INTERVAL
static final int DEFAULT_CACHE_SYNCHRONISE_INTERVALDefault cache synchronisation interval in seconds.- See Also:
-
-
Method Details
-
pollChanges
Polls the directory for mutations and synchronises accordingly.- Parameters:
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.
-
getPollingInterval
long getPollingInterval()- Returns:
- polling interval in seconds
-