public abstract class AbstractCache extends Object implements org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
AbstractCache(long initialDelay,
long delay) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected abstract void |
doPopulateCache() |
void |
evict()
Evicts the cache (asynchronously), effectively by scheduling a one time populate-job.
|
void |
evictSynchronously()
Clears the cache (synchronously)
|
protected abstract String |
getCacheName() |
protected abstract void doPopulateCache()
protected abstract String getCacheName()
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic void evict()
public void evictSynchronously()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.