|
||||||||||
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.Collection<Build> |
getAllBuilds()
Returns all builds in the system |
java.util.Collection<Build> |
getAllBuildsUpdatedSince(long systemTime)
Returns all builds since a given time |
java.util.Collection<Chain> |
getAllChains()
Returns all chains in the system |
Build |
getBuild(java.lang.String buildKey)
Returns the cached Build for a given buildKey |
Chain |
getChain(java.lang.String chainKey)
Returns the cached chain for a given chainKey |
Plan |
getPlan(java.lang.String planKey)
Returns the cached plan for a given planKey |
void |
removePlanFromCache(java.lang.String planKey)
Removes the plan from the cache |
void |
resetCache()
Clears the cache |
void |
updatePlanCache(java.lang.String planKey)
Refetches the passed plan key from the database |
Method Detail |
---|
@NotNull java.util.Collection<Build> getAllBuilds()
void resetCache()
java.util.Collection<Build> getAllBuildsUpdatedSince(long systemTime)
systemTime
-
Plan getPlan(@NotNull java.lang.String planKey)
planKey
-
Build getBuild(@NotNull java.lang.String buildKey)
buildKey
-
Chain getChain(@NotNull java.lang.String chainKey)
chainKey
-
@NotNull java.util.Collection<Chain> getAllChains()
void updatePlanCache(@NotNull java.lang.String planKey)
planKey
- Key of the plan to be updatedvoid removePlanFromCache(@NotNull java.lang.String 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 |