Interface DirectoryPoller

All Superinterfaces:
DirectoryMonitor
All Known Implementing Classes:
DbCachingDirectoryPoller

public interface DirectoryPoller extends DirectoryMonitor
Allows polling for remote directory mutations.
  • Field Details

    • DEFAULT_CACHE_SYNCHRONISE_INTERVAL

      static final int DEFAULT_CACHE_SYNCHRONISE_INTERVAL
      Default cache synchronisation interval in seconds.
      See Also:
  • Method Details

    • pollChanges

      void pollChanges(SynchronisationMode syncMode)
      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