Class AuthorityBridgeTableAsynchronouslyRefreshedCache
java.lang.Object
org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<T>
org.alfresco.repo.cache.AbstractMTAsynchronouslyRefreshedCache<BridgeTable<String>>
org.alfresco.repo.security.authority.AuthorityBridgeTableAsynchronouslyRefreshedCache
- All Implemented Interfaces:
Callable<Void>,AsynchronouslyRefreshedCache<BridgeTable<String>>,RefreshableCache<BridgeTable<String>>,org.alfresco.util.cache.AsynchronouslyRefreshedCache<BridgeTable<String>>,org.alfresco.util.cache.RefreshableCache<BridgeTable<String>>,org.alfresco.util.cache.RefreshableCacheListener,org.alfresco.util.transaction.TransactionListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class AuthorityBridgeTableAsynchronouslyRefreshedCache
extends AbstractMTAsynchronouslyRefreshedCache<BridgeTable<String>>
implements org.springframework.beans.factory.InitializingBean
- Since:
- 4.1.3
- Author:
- Andy
-
Field Summary
Fields inherited from class org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache
live, liveLock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected BridgeTable<String>buildCache(String tenantId) Build the cache entry for the specific tenant.voidsetAuthorityBridgeDAO(AuthorityBridgeDAO authorityBridgeDAO) voidsetAuthorityDAO(AuthorityDAO authorityDAO) voidsetRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper) voidsetTenantAdminService(TenantAdminService tenantAdminService) Methods inherited from class org.alfresco.repo.cache.AbstractMTAsynchronouslyRefreshedCache
forceInChangesForThisUncommittedTransaction, get, isUpToDate, refresh, setTenantServiceMethods inherited from class org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache
afterCommit, afterRollback, beforeCommit, beforeCompletion, broadcastEvent, call, forceInChangesForThisUncommittedTransaction, get, getCacheId, init, isUpToDate, onRefreshableCacheEvent, refresh, register, setBeanName, setRegistry, setThreadPoolExecutor, toString, waitForBuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.repo.cache.AsynchronouslyRefreshedCache
getCacheId
-
Constructor Details
-
AuthorityBridgeTableAsynchronouslyRefreshedCache
public AuthorityBridgeTableAsynchronouslyRefreshedCache()
-
-
Method Details
-
setAuthorityDAO
- Parameters:
authorityDAO- the authorityDAO to set
-
setAuthorityBridgeDAO
- Parameters:
authorityBridgeDAO- the authorityBridgeDAO to set
-
setRetryingTransactionHelper
- Parameters:
retryingTransactionHelper- the retryingTransactionHelper to set
-
setTenantAdminService
-
buildCache
Description copied from class:AbstractMTAsynchronouslyRefreshedCacheBuild the cache entry for the specific tenant. This method is called in a thread-safe manner i.e. it is only ever called by a single thread.- Specified by:
buildCachein classAbstractMTAsynchronouslyRefreshedCache<BridgeTable<String>>
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractMTAsynchronouslyRefreshedCache<BridgeTable<String>>- Throws:
Exception
-