public interface CacheRefresher
This was introduced in order to enable Active Directory delta cache updates.
Modifier and Type | Method and Description |
---|---|
CacheSynchronisationResult |
synchroniseAll(DirectoryCache directoryCache)
Will visit all Users and Groups in the external directory in order to do a Full refresh.
|
CacheSynchronisationResult |
synchroniseChanges(DirectoryCache directoryCache,
String syncToken)
Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
|
CacheSynchronisationResult synchroniseAll(DirectoryCache directoryCache) throws OperationFailedException
directoryCache
- the DirectoryCache to update.OperationFailedException
- if there was an error processing the operationCacheSynchronisationResult synchroniseChanges(DirectoryCache directoryCache, @Nullable String syncToken) throws OperationFailedException
directoryCache
- the DirectoryCache to update.OperationFailedException
- if there was an error processing the operationCopyright © 2021 Atlassian. All rights reserved.