public class EventTokenChangedCacheRefresher extends AbstractCacheRefresher
remoteDirectory
Constructor and Description |
---|
EventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
synchroniseAll(DirectoryCache directoryCache)
Will visit all Users and Groups in the external directory in order to do a Full refresh.
|
protected List<? extends Group> |
synchroniseAllGroups(DirectoryCache directoryCache) |
protected void |
synchroniseAllUsers(DirectoryCache directoryCache) |
boolean |
synchroniseChanges(DirectoryCache directoryCache)
Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
|
directoryDescription, filterOutDuplicateGroups, synchroniseMemberships
public EventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory)
public void synchroniseAll(DirectoryCache directoryCache) throws OperationFailedException
CacheRefresher
synchroniseAll
in interface CacheRefresher
synchroniseAll
in class AbstractCacheRefresher
directoryCache
- the DirectoryCache to update.OperationFailedException
- if there was an error processing the operationpublic boolean synchroniseChanges(DirectoryCache directoryCache) throws OperationFailedException
CacheRefresher
directoryCache
- the DirectoryCache to update.OperationFailedException
- if there was an error processing the operationprotected void synchroniseAllUsers(DirectoryCache directoryCache) throws OperationFailedException
synchroniseAllUsers
in class AbstractCacheRefresher
OperationFailedException
protected List<? extends Group> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException
synchroniseAllGroups
in class AbstractCacheRefresher
OperationFailedException
Copyright © 2013 Atlassian. All Rights Reserved.