public abstract class AbstractMTAsynchronouslyRefreshedCache<T> extends org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<T> implements AsynchronouslyRefreshedCache<T>, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
AbstractMTAsynchronouslyRefreshedCache() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected abstract T |
buildCache(String tenantId)
Build the cache entry for the specific tenant.
|
void |
forceInChangesForThisUncommittedTransaction() |
T |
get()
Get the cache.
|
boolean |
isUpToDate()
Determine if the cache is up to date
|
void |
refresh()
Refresh the cache asynchronously.
|
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
afterCommit, afterRollback, beforeCommit, beforeCompletion, broadcastEvent, call, forceInChangesForThisUncommittedTransaction, get, getCacheId, init, isUpToDate, onRefreshableCacheEvent, refresh, register, setBeanName, setRegistry, setThreadPoolExecutor, toString, waitForBuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCacheId
public AbstractMTAsynchronouslyRefreshedCache()
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService
- the tenantService to setpublic T get()
RefreshableCache
public void forceInChangesForThisUncommittedTransaction()
public void refresh()
RefreshableCache
public boolean isUpToDate()
AsynchronouslyRefreshedCache
protected abstract T buildCache(String tenantId)
buildCache
in class org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<T>
Copyright © 2005–2017 Alfresco Software. All rights reserved.