|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.directory.DbCachingDirectoryPoller
public class DbCachingDirectoryPoller
A Directory poller for the DbCachingRemoteDirectory.
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.crowd.directory.monitor.poller.DirectoryPoller |
|---|
DEFAULT_CACHE_SYNCHRONISE_INTERVAL |
| Constructor Summary | |
|---|---|
DbCachingDirectoryPoller(DirectorySynchroniser directorySynchroniser,
SynchronisableDirectory remoteDirectory)
Constructs a new DbCachingDirectoryPoller with the correct instance of RemoteDirectory. |
|
| Method Summary | |
|---|---|
long |
getDirectoryID()
Returns the ID of the directory that is being polled. |
long |
getPollingInterval()
|
void |
pollChanges(SynchronisationMode syncMode)
Polls the directory for mutations and synchronises accordingly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbCachingDirectoryPoller(DirectorySynchroniser directorySynchroniser,
SynchronisableDirectory remoteDirectory)
DirectoryPoller is discarded and a new one is created.
directorySynchroniser - DirectorySynchroniserremoteDirectory - RemoteDirectory| Method Detail |
|---|
public long getPollingInterval()
getPollingInterval in interface DirectoryPollerpublic void pollChanges(SynchronisationMode syncMode)
DirectoryPoller
pollChanges in interface DirectoryPollersyncMode - 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.public long getDirectoryID()
DirectoryMonitor
getDirectoryID in interface DirectoryMonitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||