com.atlassian.crowd.directory.ldap.cache
Class EventTokenChangedCacheRefresher
java.lang.Object
com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher
com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher
- All Implemented Interfaces:
- CacheRefresher
public class EventTokenChangedCacheRefresher
- extends AbstractCacheRefresher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventTokenChangedCacheRefresher
public EventTokenChangedCacheRefresher(RemoteCrowdDirectory crowdDirectory)
synchroniseAll
public void synchroniseAll(DirectoryCache directoryCache)
throws OperationFailedException
- Description copied from interface:
CacheRefresher
- Will visit all Users and Groups in the external directory in order to do a Full refresh.
- Specified by:
synchroniseAll
in interface CacheRefresher
- Overrides:
synchroniseAll
in class AbstractCacheRefresher
- Parameters:
directoryCache
- the DirectoryCache to update.
- Throws:
OperationFailedException
- if there was an error processing the operation
synchroniseChanges
public boolean synchroniseChanges(DirectoryCache directoryCache)
throws OperationFailedException
- Description copied from interface:
CacheRefresher
- Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
Returns true if changes since the last refresh were synchronised successfully.
- Parameters:
directoryCache
- the DirectoryCache to update.
- Returns:
- true if changes were synchronised
- Throws:
OperationFailedException
- if there was an error processing the operation
synchroniseAllUsers
protected void synchroniseAllUsers(DirectoryCache directoryCache)
throws OperationFailedException
- Specified by:
synchroniseAllUsers
in class AbstractCacheRefresher
- Throws:
OperationFailedException
synchroniseAllGroups
protected List<? extends Group> synchroniseAllGroups(DirectoryCache directoryCache)
throws OperationFailedException
- Specified by:
synchroniseAllGroups
in class AbstractCacheRefresher
- Throws:
OperationFailedException
Copyright © 2013 Atlassian. All Rights Reserved.