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, waitForBuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCacheIdpublic AbstractMTAsynchronouslyRefreshedCache()
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService - the tenantService to setpublic T get()
RefreshableCachepublic void forceInChangesForThisUncommittedTransaction()
public void refresh()
RefreshableCachepublic boolean isUpToDate()
AsynchronouslyRefreshedCacheprotected abstract T buildCache(String tenantId)
buildCache in class org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<T>Copyright © 2005–2018 Alfresco Software. All rights reserved.