Interface GreenHopperCache

All Known Subinterfaces:
BoardAdminManager, CardColorManager, CardLayoutManager, ColumnService, DetailViewFieldManager, QuickFilterService, RapidViewManager, RemoteLinkConversationService, SprintManager, StatisticsFieldService, SubqueryManager, SwimlaneService, WorkingDaysManager
All Known Implementing Classes:
BoardAdminManagerImpl, CardColorManagerImpl, CardLayoutManagerImpl, ColumnServiceImpl, DetailViewFieldManagerImpl, QueryToProjectMapper, QuickFilterServiceImpl, RankableObjectManager, RapidViewManagerImpl, RemoteLinkConversationServiceImpl, SprintManagerImpl, StatisticsFieldServiceImpl, SubqueryManagerImpl, SwimlaneServiceImpl, 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:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when all caches in the plugin need to be cleared.
  • Method Details

    • flushCache

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