Class EventTokenChangedCacheRefresher
java.lang.Object
com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher
com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher
- All Implemented Interfaces:
CacheRefresher
-
Field Summary
Fields inherited from class com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher
remoteDirectory -
Constructor Summary
ConstructorsConstructorDescriptionEventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory, CacheRefresher fullSyncCacheRefresher) -
Method Summary
Modifier and TypeMethodDescriptionsynchroniseAll(DirectoryCache directoryCache) protected PartialSynchronisationResult<? extends GroupWithAttributes>synchroniseAllGroups(DirectoryCache directoryCache) protected PartialSynchronisationResult<? extends UserWithAttributes>synchroniseAllUsers(DirectoryCache directoryCache) synchroniseChanges(DirectoryCache directoryCache, String eventToken) Methods inherited from class com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher
directoryDescription, getMemberships, isGroupAttributeSynchronisationEnabled, isIncrementalSyncEnabled, isUserAttributeSynchronisationEnabled, synchroniseAllGroupAttributes, synchroniseAllUserAttributes, synchroniseMemberships
-
Constructor Details
-
EventTokenChangedCacheRefresher
public EventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory, CacheRefresher fullSyncCacheRefresher)
-
-
Method Details
-
synchroniseAll
public CacheSynchronisationResult synchroniseAll(DirectoryCache directoryCache) throws OperationFailedException - Specified by:
synchroniseAllin interfaceCacheRefresher- Overrides:
synchroniseAllin classAbstractCacheRefresher- Throws:
OperationFailedException
-
synchroniseChanges
public CacheSynchronisationResult synchroniseChanges(DirectoryCache directoryCache, @Nullable String eventToken) throws OperationFailedException - Throws:
OperationFailedException
-
synchroniseAllUsers
protected PartialSynchronisationResult<? extends UserWithAttributes> synchroniseAllUsers(DirectoryCache directoryCache) throws OperationFailedException - Specified by:
synchroniseAllUsersin classAbstractCacheRefresher- Throws:
OperationFailedException
-
synchroniseAllGroups
protected PartialSynchronisationResult<? extends GroupWithAttributes> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException - Specified by:
synchroniseAllGroupsin classAbstractCacheRefresher- Throws:
OperationFailedException
-