|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DashboardCachingManager
Interface for viewing the dashboard. Should never be used for updates
Method Summary | |
---|---|
List<ImmutableChain> |
getAllChains()
Returns all chains (including chain branches) in the system |
List<ImmutableTopLevelPlan> |
getAllTopLevelPlans()
Returns all top level plans (i.e. |
com.google.common.collect.ImmutableCollection<ImmutableChain> |
getAllTopLevelPlansUnsorted()
|
List<ImmutableTopLevelPlan> |
getAllTopLevelPlansUpdatedSince(long systemTime)
Returns all builds since a given time |
ImmutableChain |
getPlan(PlanKey planKey)
Returns the cached plan for a given planKey |
void |
initCaches()
Initialises the caches |
void |
removePlanFromCache(PlanKey planKey)
Removes the plan from the cache |
void |
removePlansFromCache(Iterable<PlanKey> planKeys)
|
void |
resetCache()
Clears the cache |
void |
updatePlanCache(Collection<PlanKey> planKeys)
Refetches the passed plan keys from the database |
void |
updatePlanCache(PlanKey planKey)
Refetches the passed plan key from the database |
Method Detail |
---|
@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)
planKey
- Key of the plan to be updatedvoid updatePlanCache(@NotNull Collection<PlanKey> planKeys)
planKeys
- Keys of the plan to be updatedvoid removePlanFromCache(@NotNull PlanKey planKey)
planKey
- Key of the plan to be removed from cachevoid removePlansFromCache(@NotNull Iterable<PlanKey> planKeys)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |