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>>,AsynchronouslyRefreshedCache<BridgeTable<String>>,RefreshableCache<BridgeTable<String>>,RefreshableCacheListener,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 Constructor Description AuthorityBridgeTableAsynchronouslyRefreshedCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected 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, setTenantService
-
Methods 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, waitForBuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.cache.AsynchronouslyRefreshedCache
getCacheId
-
-
-
-
Method Detail
-
setAuthorityDAO
public void setAuthorityDAO(AuthorityDAO authorityDAO)
- Parameters:
authorityDAO- the authorityDAO to set
-
setAuthorityBridgeDAO
public void setAuthorityBridgeDAO(AuthorityBridgeDAO authorityBridgeDAO)
- Parameters:
authorityBridgeDAO- the authorityBridgeDAO to set
-
setRetryingTransactionHelper
public void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
- Parameters:
retryingTransactionHelper- the retryingTransactionHelper to set
-
setTenantAdminService
public void setTenantAdminService(TenantAdminService tenantAdminService)
-
buildCache
protected BridgeTable<String> buildCache(String tenantId)
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
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractMTAsynchronouslyRefreshedCache<BridgeTable<String>>- Throws:
Exception
-
-