Package org.alfresco.util.cache
Interface AsynchronouslyRefreshedCacheRegistry
- All Known Implementing Classes:
DefaultAsynchronouslyRefreshedCacheRegistry
public interface AsynchronouslyRefreshedCacheRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcastEvent
(RefreshableCacheEvent event, boolean toAll) Fire an eventvoid
register
(RefreshableCacheListener listener) Register a listener
-
Method Details
-
register
Register a listener- Parameters:
listener
-
-
broadcastEvent
Fire an event- Parameters:
event
-toAll
- - true goes to all listeners, false only to listeners that have a matching cacheId
-