|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.caching.DashboardCachingManagerImpl
public class DashboardCachingManagerImpl
Constructor Summary | |
---|---|
DashboardCachingManagerImpl(PlanManager planManager)
|
Method Summary | |
---|---|
java.util.List<Build> |
getAllBuilds()
Deprecated. since 2.7 You probably want to use getAllTopLevelPlans instead |
java.util.List<Chain> |
getAllChains()
Returns all chains in the system |
java.util.List<TopLevelPlan> |
getAllTopLevelPlans()
Returns all top level plans (plans and chains) in the system |
java.util.Collection<TopLevelPlan> |
getAllTopLevelPlansUpdatedSince(long systemTime)
Returns all builds since a given time |
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 |
TopLevelPlan |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DashboardCachingManagerImpl(PlanManager planManager)
Method Detail |
---|
@Deprecated @NotNull public java.util.List<Build> getAllBuilds()
DashboardCachingManager
getAllBuilds
in interface DashboardCachingManager
@NotNull public java.util.List<TopLevelPlan> getAllTopLevelPlans()
DashboardCachingManager
getAllTopLevelPlans
in interface DashboardCachingManager
public java.util.Collection<TopLevelPlan> getAllTopLevelPlansUpdatedSince(long systemTime)
DashboardCachingManager
getAllTopLevelPlansUpdatedSince
in interface DashboardCachingManager
public TopLevelPlan getPlan(@NotNull java.lang.String planKey)
DashboardCachingManager
getPlan
in interface DashboardCachingManager
public Build getBuild(@NotNull java.lang.String buildKey)
DashboardCachingManager
getBuild
in interface DashboardCachingManager
public Chain getChain(@NotNull java.lang.String chainKey)
DashboardCachingManager
getChain
in interface DashboardCachingManager
public void resetCache()
DashboardCachingManager
resetCache
in interface DashboardCachingManager
@NotNull public java.util.List<Chain> getAllChains()
DashboardCachingManager
getAllChains
in interface DashboardCachingManager
public void updatePlanCache(@NotNull java.lang.String planKey)
DashboardCachingManager
updatePlanCache
in interface DashboardCachingManager
planKey
- Key of the plan to be updatedpublic void removePlanFromCache(@NotNull java.lang.String planKey)
DashboardCachingManager
removePlanFromCache
in interface DashboardCachingManager
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 |