public class DashboardCachingManagerImpl extends Object implements DashboardCachingManager
| Constructor and Description |
|---|
DashboardCachingManagerImpl(ImmutablePlanCacheService immutablePlanCacheService,
PlanDao planDao) |
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableChain> |
getAllChains() |
List<ImmutableTopLevelPlan> |
getAllTopLevelPlans() |
com.google.common.collect.ImmutableCollection<ImmutableChain> |
getAllTopLevelPlansUnsorted() |
List<ImmutableTopLevelPlan> |
getAllTopLevelPlansUpdatedSince(long systemTime) |
ImmutableChain |
getPlan(PlanKey planKey) |
ImmutableChain |
getPlan(String planKey) |
void |
initCaches() |
void |
removePlanFromCache(PlanKey planKey) |
void |
removePlansFromCache(Iterable<PlanKey> planKeys) |
void |
resetCache() |
void |
updatePlanCache(Collection<PlanKey> planKeys) |
void |
updatePlanCache(PlanKey planKey) |
public DashboardCachingManagerImpl(ImmutablePlanCacheService immutablePlanCacheService, PlanDao planDao)
@NotNull public List<ImmutableTopLevelPlan> getAllTopLevelPlans()
getAllTopLevelPlans in interface DashboardCachingManagerpublic com.google.common.collect.ImmutableCollection<ImmutableChain> getAllTopLevelPlansUnsorted()
getAllTopLevelPlansUnsorted in interface DashboardCachingManager@NotNull public List<ImmutableChain> getAllChains()
getAllChains in interface DashboardCachingManagerpublic ImmutableChain getPlan(@NotNull PlanKey planKey)
getPlan in interface DashboardCachingManagerpublic List<ImmutableTopLevelPlan> getAllTopLevelPlansUpdatedSince(long systemTime)
getAllTopLevelPlansUpdatedSince in interface DashboardCachingManager@Nullable public ImmutableChain getPlan(@NotNull String planKey)
public void resetCache()
resetCache in interface DashboardCachingManagerpublic void updatePlanCache(@NotNull
PlanKey planKey)
updatePlanCache in interface DashboardCachingManagerpublic void updatePlanCache(@NotNull
Collection<PlanKey> planKeys)
updatePlanCache in interface DashboardCachingManagerpublic void removePlanFromCache(@NotNull
PlanKey planKey)
removePlanFromCache in interface DashboardCachingManagerpublic void removePlansFromCache(@NotNull
Iterable<PlanKey> planKeys)
removePlansFromCache in interface DashboardCachingManagerpublic void initCaches()
initCaches in interface DashboardCachingManagerCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.