|
||||||||||
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 | |
---|---|
java.util.List<ImmutableChain> |
getAllChains()
Returns all chains (including chain branches) in the system |
java.util.List<ImmutableTopLevelPlan> |
getAllTopLevelPlans()
Returns all top level plans (i.e. |
java.util.Collection<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 |
resetCache()
Clears the cache |
void |
updatePlanCache(java.util.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 java.util.List<ImmutableTopLevelPlan> getAllTopLevelPlans()
@NotNull java.util.List<ImmutableChain> getAllChains()
@Nullable ImmutableChain getPlan(@NotNull PlanKey planKey)
planKey
-
java.util.Collection<ImmutableTopLevelPlan> getAllTopLevelPlansUpdatedSince(long systemTime)
systemTime
-
void initCaches()
void resetCache()
void updatePlanCache(@NotNull PlanKey planKey)
planKey
- Key of the plan to be updatedvoid updatePlanCache(@NotNull java.util.Collection<PlanKey> planKeys)
planKeys
- Keys of the plan to be updatedvoid removePlanFromCache(@NotNull PlanKey planKey)
planKey
- Key of the plan to be removed from cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |