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 even
|
void |
register(RefreshableCacheListener listener)
Register a listener
|
public DefaultAsynchronouslyRefreshedCacheRegistry()
public void register(RefreshableCacheListener listener)
AsynchronouslyRefreshedCacheRegistryregister in interface AsynchronouslyRefreshedCacheRegistrypublic void broadcastEvent(RefreshableCacheEvent event, boolean toAll)
AsynchronouslyRefreshedCacheRegistrybroadcastEvent in interface AsynchronouslyRefreshedCacheRegistrytoAll - - true goes to all listeners, false only to listeners that have a matching cacheIdCopyright © 2005–2014 Alfresco Software. All rights reserved.