| Package | Description |
|---|---|
| org.craftercms.core.cache | |
| org.craftercms.core.cache.impl | |
| org.craftercms.core.service.impl | |
| org.craftercms.core.store.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
Cache.clearScope(String scope)
Clears the contents of the specified scope in the cache.
|
CacheItem |
Cache.get(String scope,
Object key)
Retrieves an item from a scope.
|
Collection<Object> |
Cache.getKeys(String scope)
Returns a list of the keys of the items present in the specified scope.
|
int |
Cache.getSize(String scope)
Returns the quantity of items present in the specified scope.
|
boolean |
Cache.hasKey(String scope,
Object key)
Returns true if there's and item with the specified key in the specified scope.
|
void |
Cache.put(String scope,
Object key,
Object value)
Puts an item in a scope.
|
void |
Cache.put(String scope,
Object key,
Object value,
long expireAfter,
long refreshFrequency,
CacheLoader loader,
Object... loaderParams)
Puts and item in a scope.
|
boolean |
Cache.remove(String scope,
Object key)
Removes an item from a scope.
|
void |
Cache.removeScope(String scope)
Removes an existing scope and all the items that are in it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheImpl.clearScope(String scope)
Clears the contents of the specified scope in the cache.
|
CacheItem |
CacheImpl.get(String scope,
Object key)
Retrieves an item from a scope.
|
Collection<Object> |
CacheImpl.getKeys(String scope)
Returns a list of the keys of the items present in the specified scope.
|
int |
CacheImpl.getSize(String scope)
Returns the quantity of items present in the specified scope.
|
boolean |
CacheImpl.hasKey(String scope,
Object key)
Returns true if there's and item with the specified key in the specified scope.
|
void |
CacheImpl.put(String scope,
Object key,
Object value)
Puts an item in a scope.
|
void |
CacheImpl.put(String scope,
Object key,
Object value,
long expireAfter,
long refreshFrequency,
CacheLoader loader,
Object... loaderParams)
Puts and item in a scope.
|
boolean |
CacheImpl.remove(String scope,
Object key)
Removes an item from a scope.
|
void |
CacheImpl.removeScope(String scope)
Removes an existing scope and all the items that are in it.
|
| Modifier and Type | Method and Description |
|---|---|
Content |
ContentStoreServiceImpl.getContent(Context context,
CachingOptions cachingOptions,
String url)
Returns the content of the file for the given url.
|
Content |
ContentStoreServiceImpl.getContent(Context context,
String url)
Returns the content of the file for the given url.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractFileBasedContentStoreAdapter.exists(Context context,
String path) |
Copyright © 2018 CrafterCMS. All rights reserved.