com.atlassian.crowd.directory.loader
Class ConfigurableDbCachingRemoteDirectoryInstanceLoader
java.lang.Object
com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
com.atlassian.crowd.directory.loader.DbCachingRemoteDirectoryInstanceLoader
com.atlassian.crowd.directory.loader.ConfigurableDbCachingRemoteDirectoryInstanceLoader
- All Implemented Interfaces:
- DirectoryInstanceLoader, InternalHybridDirectoryInstanceLoader
public class ConfigurableDbCachingRemoteDirectoryInstanceLoader
- extends DbCachingRemoteDirectoryInstanceLoader
A subclass of DbCachingRemoteDirectoryInstanceLoader which allows DB caching to be switched off based
on the DirectoryProperties.CACHE_ENABLED attribute.
Note, the caching in this class refers to the DB caching of directory data, not of in memory caches of the
RemoteDirectory instances themselves
- Since:
- 2.8
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableDbCachingRemoteDirectoryInstanceLoader
public ConfigurableDbCachingRemoteDirectoryInstanceLoader(DirectoryInstanceLoader remoteDirectoryInstanceLoader,
InternalDirectoryInstanceLoader internalDirectoryInstanceLoader,
DirectoryMonitorManager directoryMonitorManager,
DirectoryCacheFactory directoryCacheFactory,
CqlQueryParser cqlQueryParser)
ConfigurableDbCachingRemoteDirectoryInstanceLoader
public ConfigurableDbCachingRemoteDirectoryInstanceLoader(LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader,
RemoteCrowdDirectoryInstanceLoader remoteCrowdDirectoryInstanceLoader,
InternalDirectoryInstanceLoader internalDirectoryInstanceLoader,
DirectoryMonitorManager directoryMonitorManager,
DirectoryCacheFactory directoryCacheFactory,
CqlQueryParser cqlQueryParser)
getDirectory
public RemoteDirectory getDirectory(Directory directory)
throws DirectoryInstantiationException
- Description copied from class:
DbCachingRemoteDirectoryInstanceLoader
-
- Specified by:
getDirectory in interface DirectoryInstanceLoader- Overrides:
getDirectory in class DbCachingRemoteDirectoryInstanceLoader
- Throws:
DirectoryInstantiationException
Copyright © 2016 Atlassian. All Rights Reserved.