public class EventTokenChangedCacheRefresher extends AbstractCacheRefresher
remoteDirectory| Constructor and Description |
|---|
EventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory,
CacheRefresher fullSyncCacheRefresher) |
| 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 GroupWithAttributes> |
synchroniseAllGroups(DirectoryCache directoryCache) |
protected List<? extends UserWithAttributes> |
synchroniseAllUsers(DirectoryCache directoryCache,
boolean withAttributes) |
boolean |
synchroniseChanges(DirectoryCache directoryCache)
Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
|
directoryDescription, isIncrementalSyncEnabled, isUserAttributeSynchronisationEnabled, synchroniseAllGroupAttributes, synchroniseAllUserAttributes, synchroniseMembershipspublic EventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory, CacheRefresher fullSyncCacheRefresher)
public void synchroniseAll(DirectoryCache directoryCache) throws OperationFailedException
CacheRefreshersynchroniseAll in interface CacheRefreshersynchroniseAll in class AbstractCacheRefresherdirectoryCache - the DirectoryCache to update.OperationFailedException - if there was an error processing the operationpublic boolean synchroniseChanges(DirectoryCache directoryCache) throws OperationFailedException
CacheRefresherdirectoryCache - the DirectoryCache to update.OperationFailedException - if there was an error processing the operationprotected List<? extends UserWithAttributes> synchroniseAllUsers(DirectoryCache directoryCache, boolean withAttributes) throws OperationFailedException
synchroniseAllUsers in class AbstractCacheRefresherOperationFailedExceptionprotected List<? extends GroupWithAttributes> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException
synchroniseAllGroups in class AbstractCacheRefresherOperationFailedExceptionCopyright © 2018 Atlassian. All rights reserved.