Class AuthorityBridgeTableAsynchronouslyRefreshedCache
- java.lang.Object
-
- org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<T>
-
- org.alfresco.repo.cache.AbstractMTAsynchronouslyRefreshedCache<org.alfresco.util.BridgeTable<java.lang.String>>
-
- org.alfresco.repo.security.authority.AuthorityBridgeTableAsynchronouslyRefreshedCache
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Void>,AsynchronouslyRefreshedCache<org.alfresco.util.BridgeTable<java.lang.String>>,RefreshableCache<org.alfresco.util.BridgeTable<java.lang.String>>,org.alfresco.util.cache.AsynchronouslyRefreshedCache<org.alfresco.util.BridgeTable<java.lang.String>>,org.alfresco.util.cache.RefreshableCache<org.alfresco.util.BridgeTable<java.lang.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<org.alfresco.util.BridgeTable<java.lang.String>> implements org.springframework.beans.factory.InitializingBean
- Since:
- 4.1.3
- Author:
- Andy
-
-
Constructor Summary
Constructors Constructor Description AuthorityBridgeTableAsynchronouslyRefreshedCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected org.alfresco.util.BridgeTable<java.lang.String>buildCache(java.lang.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 org.alfresco.util.BridgeTable<java.lang.String> buildCache(java.lang.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<org.alfresco.util.BridgeTable<java.lang.String>>
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractMTAsynchronouslyRefreshedCache<org.alfresco.util.BridgeTable<java.lang.String>>- Throws:
java.lang.Exception
-
-