| Package | Description |
|---|---|
| org.craftercms.core.cache | |
| org.craftercms.core.cache.impl | |
| org.craftercms.core.service | |
| org.craftercms.core.service.impl | |
| org.craftercms.core.util.cache.impl |
| Modifier and Type | Method and Description |
|---|---|
CacheLoader |
CacheItem.getLoader()
Returns the
CacheLoader used to refresh this item. |
| Modifier and Type | Method and Description |
|---|---|
void |
Cache.put(String scope,
Object key,
Object value,
long expireAfter,
long refreshFrequency,
CacheLoader loader,
Object... loaderParams)
Puts and item in a scope.
|
| Modifier and Type | Field and Description |
|---|---|
protected CacheLoader |
CacheItemImpl.loader |
| Modifier and Type | Method and Description |
|---|---|
CacheLoader |
CacheItemImpl.getLoader()
Returns the
CacheLoader used to refresh this item. |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheImpl.put(String scope,
Object key,
Object value,
long expireAfter,
long refreshFrequency,
CacheLoader loader,
Object... loaderParams)
Puts and item in a scope.
|
| Constructor and Description |
|---|
CacheItemImpl(String scope,
long ticksAtCreation,
Object key,
Object value,
long ticksToExpire,
long ticksToRefresh,
CacheLoader loader,
Object[] loaderParams)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheService.put(Context context,
Object key,
Object value,
CachingOptions cachingOptions,
CacheLoader loader,
Object... loaderParams)
Puts and item in the scope of the given context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheServiceImpl.put(Context context,
Object key,
Object value,
CachingOptions cachingOptions,
CacheLoader loader,
Object... loaderParams) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> CacheLoader |
DefaultCacheTemplate.getCacheLoader(org.craftercms.commons.lang.Callback<T> callback,
long refreshFrequency) |
Copyright © 2018 CrafterCMS. All rights reserved.