|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Configuration.LoadersConfig
Holds the configuration for cache loaders and stores.
Method Summary | |
---|---|
Configuration.LoadersConfig |
addCacheLoaderConfig(CacheLoaderConfig clc)
|
Configuration.LoadersConfig |
passivation(Boolean passivation)
If true, data is only written to the cache store when it is evicted from memory, a phenomenon known as 'passivation'. |
Configuration.LoadersConfig |
preload(Boolean preload)
If true, when the cache starts, data stored in the cache store will be pre-loaded into memory. |
Configuration.LoadersConfig |
setCacheLoaderConfigs(List<CacheLoaderConfig> configs)
|
Configuration.LoadersConfig |
shared(Boolean shared)
This setting should be set to true when multiple cache instances share the same cache store (e.g., multiple nodes in a cluster using a JDBC-based CacheStore pointing to the same, shared database.) Setting this to true avoids multiple cache instances writing the same modification multiple times. |
Method Detail |
---|
Configuration.LoadersConfig preload(Boolean preload)
preload
- Configuration.LoadersConfig passivation(Boolean passivation)
passivation
- Configuration.LoadersConfig shared(Boolean shared)
shared
- Configuration.LoadersConfig addCacheLoaderConfig(CacheLoaderConfig clc)
Configuration.LoadersConfig setCacheLoaderConfigs(List<CacheLoaderConfig> configs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |