public class QuickReloadCaches extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
QuickReloadCaches(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.cache.CacheManager cacheManager) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
boolean |
hasUpdates(long contentId,
long since) |
void |
onComment(CommentEvent evt) |
void |
onPageUpdate(PageUpdateEvent evt) |
void |
updateLastUpdate(long contentId,
long timestamp) |
public QuickReloadCaches(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheManager cacheManager)
public boolean hasUpdates(long contentId, long since)
public void updateLastUpdate(long contentId, long timestamp)
@EventListener public void onPageUpdate(PageUpdateEvent evt)
@EventListener public void onComment(CommentEvent evt)
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
Copyright © 2003–2015 Atlassian. All rights reserved.