CachedPlanManager
instead@Deprecated public interface DashboardCachingManager
Modifier and Type | Method and Description |
---|---|
List<ImmutableChain> |
getAllChains()
Deprecated.
Returns all chains (including chain branches) in the system
|
List<ImmutableTopLevelPlan> |
getAllTopLevelPlans()
Deprecated.
Returns all top level plans (i.e.
|
com.google.common.collect.ImmutableCollection<ImmutableChain> |
getAllTopLevelPlansUnsorted()
Deprecated.
|
List<ImmutableTopLevelPlan> |
getAllTopLevelPlansUpdatedSince(long systemTime)
Deprecated.
Returns all builds since a given time
|
ImmutableChain |
getPlan(PlanKey planKey)
Deprecated.
Returns the cached plan for a given planKey
|
void |
initCaches()
Deprecated.
Initialises the caches
|
void |
invalidateAndUpdatePlanCache(PlanKey planKey)
Deprecated.
Refetches the passed plan using the
ImmutablePlanCacheService enforcing invalidation of currently cached value. |
void |
removePlanFromCache(PlanKey planKey)
Deprecated.
Removes the plan from the cache
|
void |
removePlansFromCache(Iterable<PlanKey> planKeys)
Deprecated.
|
void |
resetCache()
Deprecated.
Clears the cache
|
void |
resetLatestSummary(PlanKey planKey,
PlanResultKey newResultKey)
Deprecated.
since 5.15 without replacement
|
void |
updatePlanCache(Collection<PlanKey> planKeys)
Deprecated.
Refetches the passed plans using the
ImmutablePlanCacheService . |
void |
updatePlanCache(PlanKey planKey)
Deprecated.
Refetches the passed plan using the
ImmutablePlanCacheService . |
@NotNull List<ImmutableTopLevelPlan> getAllTopLevelPlans()
com.google.common.collect.ImmutableCollection<ImmutableChain> getAllTopLevelPlansUnsorted()
@NotNull List<ImmutableChain> getAllChains()
@Nullable ImmutableChain getPlan(@NotNull PlanKey planKey)
planKey
- List<ImmutableTopLevelPlan> getAllTopLevelPlansUpdatedSince(long systemTime)
systemTime
- void initCaches()
void resetCache()
void updatePlanCache(@NotNull PlanKey planKey)
ImmutablePlanCacheService
.planKey
- Key of the plan to be updatedvoid updatePlanCache(@NotNull Collection<PlanKey> planKeys)
ImmutablePlanCacheService
.planKeys
- Keys of the plan to be updatedvoid removePlanFromCache(@NotNull PlanKey planKey)
planKey
- Key of the plan to be removed from cache@Deprecated void resetLatestSummary(@NotNull PlanKey planKey, @NotNull PlanResultKey newResultKey)
void invalidateAndUpdatePlanCache(PlanKey planKey)
ImmutablePlanCacheService
enforcing invalidation of currently cached value.planKey
- Key of the plan to be updatedCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.