com.atlassian.greenhopper.manager
Interface GreenHopperCache

All Known Subinterfaces:
CardColorManager, ColumnService, DetailViewFieldManager, QuickFilterService, RapidViewService, SprintManager, StatisticsFieldService, SubqueryService, SwimlaneService, UserBoardsPreferencesService, WorkingDaysManager
All Known Implementing Classes:
CardColorManagerImpl, ColumnServiceImpl, ConfigurationServiceImpl, DetailViewFieldManagerImpl, QuickFilterServiceImpl, RankableObjectManager, RapidViewServiceImpl, SprintManagerImpl, SprintMarkerManager, StatisticsFieldServiceImpl, SubqueryServiceImpl, SwimlaneServiceImpl, UserBoardsPreferencesServiceImpl, VersionMetaDataManagerImpl, WorkingDaysManagerImpl

public interface GreenHopperCache

A consistent approach to marking managers/services which have caches that need to be flushed every now and then. There is a library called atlassian-cache that we could look at using in the future, but for now this will do.

Any service or manager which needs to cache things should implement this interface, so that when the GreenHopper plugin needs to be reloaded, the caches can be cleared.

Since:
v6.0.3
See Also:
GreenHopperCacheManager

Method Summary
 void flushCache()
          Invoked when all caches in the plugin need to be cleared.
 

Method Detail

flushCache

void flushCache()
Invoked when all caches in the plugin need to be cleared.



Copyright © 2007-2013 Atlassian. All Rights Reserved.