Package org.alfresco.repo.cache
Interface AsynchronouslyRefreshedCacheRegistry
-
public interface AsynchronouslyRefreshedCacheRegistryA registry of all AsynchronouslyRefreshedCaches to be used for notification.- Author:
- Andy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbroadcastEvent(RefreshableCacheEvent event, boolean toAll)Fire an evenvoidregister(RefreshableCacheListener listener)Register a listener
-
-
-
Method Detail
-
register
void register(RefreshableCacheListener listener)
Register a listener- Parameters:
listener- RefreshableCacheListener
-
broadcastEvent
void broadcastEvent(RefreshableCacheEvent event, boolean toAll)
Fire an even- Parameters:
event- RefreshableCacheEventtoAll- - true goes to all listeners, false only to listeners that have a matching cacheId
-
-