com.atlassian.greenhopper.service
Class GreenHopperCacheManager

java.lang.Object
  extended by com.atlassian.greenhopper.service.GreenHopperCacheManager

@Service(value="gh-greenHopperCacheManager")
public class GreenHopperCacheManager
extends java.lang.Object

Currently just provides a way to clear out all caches (used after upgrade tasks).


Field Summary
static java.lang.String SERVICE
          Service identifier to be used for dependency injection.
 
Constructor Summary
GreenHopperCacheManager()
           
 
Method Summary
 void clearCaches(com.atlassian.jira.event.ClearCacheEvent event)
          This method clears all (to us known) GH caches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE

public static final java.lang.String SERVICE
Service identifier to be used for dependency injection.

See Also:
Constant Field Values
Constructor Detail

GreenHopperCacheManager

public GreenHopperCacheManager()
Method Detail

clearCaches

@EventListener
public void clearCaches(@Nullable
                                      com.atlassian.jira.event.ClearCacheEvent event)
This method clears all (to us known) GH caches

Parameters:
event - optional ClearCacheEvent. Param required - in conjunction with EventListener annotation - to bind this function to the ClearCache Event


Copyright © 2007-2012 Atlassian. All Rights Reserved.