@ParametersAreNonnullByDefault @Component 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.vcache.VCacheFactory cacheFactory) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
boolean |
hasAccessModeUpdate(long since) |
boolean |
hasUpdates(long contentId,
long since) |
void |
onAccessModeChanged(ClusterAccessModeEvent event) |
void |
onBannerChanged(ClusterEventWrapper eventWrapper) |
void |
onBannerChanged(ClusterMaintenanceBannerEvent event) |
void |
onComment(CommentEvent evt) |
void |
onPageUpdate(PageUpdateEvent evt) |
void |
updateLastUpdate(long contentId,
long timestamp) |
@Autowired public QuickReloadCaches(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.vcache.VCacheFactory cacheFactory)
public boolean hasUpdates(long contentId, long since)
public boolean hasAccessModeUpdate(long since)
public void updateLastUpdate(long contentId, long timestamp)
@EventListener public void onAccessModeChanged(ClusterAccessModeEvent event)
@EventListener public void onBannerChanged(ClusterMaintenanceBannerEvent event)
@EventListener public void onBannerChanged(ClusterEventWrapper eventWrapper)
@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–2020 Atlassian. All rights reserved.