com.atlassian.crowd.directory.monitor.poller
Interface DirectoryPoller

All Superinterfaces:
DirectoryMonitor

public interface DirectoryPoller
extends DirectoryMonitor

Allows polling for remote directory mutations.


Field Summary
static int DEFAULT_CACHE_SYNCHRONISE_INTERVAL
          Default cache synchronisation interval in seconds.
 
Method Summary
 long getPollingInterval()
           
 void pollChanges(SynchronisationMode syncMode)
          Polls the directory for mutations and synchronises accordingly.
 
Methods inherited from interface com.atlassian.crowd.directory.monitor.DirectoryMonitor
getDirectoryID
 

Field Detail

DEFAULT_CACHE_SYNCHRONISE_INTERVAL

static final int DEFAULT_CACHE_SYNCHRONISE_INTERVAL
Default cache synchronisation interval in seconds.

See Also:
Constant Field Values
Method Detail

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


Copyright © 2014 Atlassian. All Rights Reserved.