Package | Description |
---|---|
com.communote.server.core.common.caching |
Modifier and Type | Method and Description |
---|---|
protected CacheElementWrapper<Serializable> |
NoCache.handleGet(String cacheKey) |
protected abstract CacheElementWrapper<Serializable> |
Cache.handleGet(String cacheKey)
Retrieves an element identified by the provided key from the cache.
|
protected void |
NoCache.handleInvalidate(String cacheKey) |
protected abstract void |
Cache.handleInvalidate(String cacheKey)
Invalidates the data stored under the supplied key.
|
protected void |
NoCache.handlePut(String cacheKey,
CacheElementWrapper<Serializable> cacheElement,
int timeToLive) |
protected abstract void |
Cache.handlePut(String cacheKey,
CacheElementWrapper<Serializable> cacheElement,
int timeToLive)
Stores an element under the key cacheKey in the cache.
|
<K extends CacheKey,T extends Serializable> |
Cache.invalidate(K key,
CacheElementProvider<K,T> provider)
Invalidates a cached element that has the key cacheKey.
|
void |
CacheManager.invalidateAdditionalCache(String id)
Invalidates the additional cache with the given id.
|
void |
CacheManager.invalidateMainCache()
Invalidates the whole main cache.
|
<K extends CacheKey,T extends Serializable> |
Cache.put(K key,
CacheElementProvider<K,T> provider,
T data)
Stores some data in the cache under the provided key.
|
Copyright © 2019 Communote team. All rights reserved.