public interface CacheFactory
SimpleCache objects
for a given cache name. It is the responsibility of the implementation to lookup
specific cache configuration details using the supplied name.| Modifier and Type | Method and Description |
|---|---|
org.alfresco.repo.cache.SimpleCache |
createCache(java.lang.String cacheName)
Creates a fully distributed cache (when clustering is enabled and active).
|
org.alfresco.repo.cache.SimpleCache |
createInvalidateRemovalCache(java.lang.String cacheName)
Creates a local (as opposed to fully-distributed) cache that broadcasts invalidation messages
to its peers on other cluster members upon cache item removal.
|
org.alfresco.repo.cache.SimpleCache |
createLocalCache(java.lang.String cacheName)
Creates a "local" cache, i.e.
|
org.alfresco.repo.cache.SimpleCache createCache(java.lang.String cacheName)
cacheName - org.alfresco.repo.cache.SimpleCache createLocalCache(java.lang.String cacheName)
cacheName - org.alfresco.repo.cache.SimpleCache createInvalidateRemovalCache(java.lang.String cacheName)
Creates a local (as opposed to fully-distributed) cache that broadcasts invalidation messages to its peers on other cluster members upon cache item removal. Its peers then remove the corresponding cache item.
This cache does not replicate put(k,v) invocations.
cacheName - Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.