public class DefaultAsynchronouslyRefreshedCacheRegistry extends Object implements AsynchronouslyRefreshedCacheRegistry
Constructor and Description |
---|
DefaultAsynchronouslyRefreshedCacheRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
broadcastEvent(RefreshableCacheEvent event,
boolean toAll)
Fire an event
|
void |
register(RefreshableCacheListener listener)
Register a listener
|
public DefaultAsynchronouslyRefreshedCacheRegistry()
public void register(RefreshableCacheListener listener)
AsynchronouslyRefreshedCacheRegistry
register
in interface AsynchronouslyRefreshedCacheRegistry
public void broadcastEvent(RefreshableCacheEvent event, boolean toAll)
AsynchronouslyRefreshedCacheRegistry
broadcastEvent
in interface AsynchronouslyRefreshedCacheRegistry
toAll
- - true goes to all listeners, false only to listeners that have a matching cacheIdCopyright © 2005–2020 Alfresco Software. All rights reserved.