Class UsnChangedCacheRefresher

java.lang.Object
com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher<LDAPGroupWithAttributes>
com.atlassian.crowd.directory.synchronisation.cache.UsnChangedCacheRefresher
All Implemented Interfaces:
CacheRefresher

public class UsnChangedCacheRefresher extends AbstractCacheRefresher<LDAPGroupWithAttributes> implements CacheRefresher
Retrieves the latest changes from MS Active Directory in order to allow "delta" cache refreshes.

See this and this for details on polling Microsoft Active Directory.

This class is guaranteed to be run from a single thread at a time by per directory. This means it does not need to worry about race-conditions, but still must consider safe publication of variables (per directory).

The incremental sync of users comes in two flavors: see SystemProperties.USE_LEGACY_AD_INCREMENTAL_SYNC.