Class 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 Detail

      • AuthorityBridgeTableAsynchronouslyRefreshedCache

        public AuthorityBridgeTableAsynchronouslyRefreshedCache()
    • 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: AbstractMTAsynchronouslyRefreshedCache
        Build 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:
        buildCache in class AbstractMTAsynchronouslyRefreshedCache<org.alfresco.util.BridgeTable<java.lang.String>>
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Overrides:
        afterPropertiesSet in class AbstractMTAsynchronouslyRefreshedCache<org.alfresco.util.BridgeTable<java.lang.String>>
        Throws:
        java.lang.Exception