...
Warning |
---|
Whether cache is persistent depends on the underlying implementation. For non-persistent implementations the cache must be rebuilt after server restart. See Cache implementations for more. |
Implementations:
Get the cache
Achieve an instance of
Javadoc |
---|
0 | info.magnolia.module.cache.Cache |
---|
|
. This is your cache to operate on. Give it a name which must be unique within the system.
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
Node name | Value |
---|
|
| |
| |
| |
| |
| |
| |
| | ../default | | 300 | |
| | none |
|
The /modules/cache/config/cacheFactory/caches/fooBarCache
node defines the cache name. fooBarCache
is the "name" of the cache which was also used above when acquiring the Cache object within Java code.
Cache Interface
Code Pro |
---|
title | info.magnolia.module.cache.Cache |
---|
sections | %%(public interface)%% - |
---|
url | https://git.magnolia-cms.com/projects/MODULES/repos/cache/browse/magnolia-cache-core/src/main/java/info/magnolia/module/cache/Cache.java?at=master&raw |
---|
|
|
Put to cache
Javadoc |
---|
0 | info.magnolia.module.cache.Cache |
---|
|
knows two methods to append objects.
...