|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.cache.ImmutablePlanCacheServiceImpl
public class ImmutablePlanCacheServiceImpl
Constructor Summary | |
---|---|
ImmutablePlanCacheServiceImpl(ImmutablePlanManager immutablePlanManager,
ChainBranchManager chainBranchManager)
|
Method Summary | |
---|---|
void |
cascadeReset(long planId)
Removes the cached reference for the passed plan and its children. |
void |
cascadeReset(PlanKey planKey)
Removes the cached reference for the passed plan and its children. |
BambooCacheStats |
getCacheStats()
|
ImmutableChain |
getImmutablePlanByKey(PlanKey planKey)
Returns a plan if one exists with the key |
void |
reset(long planId)
Removes the cached reference for the passed plan |
void |
reset(PlanKey planKey)
Removes the cached reference for the passed plan |
void |
resetAll()
Nukes the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutablePlanCacheServiceImpl(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull ChainBranchManager chainBranchManager)
Method Detail |
---|
@Nullable public ImmutableChain getImmutablePlanByKey(@NotNull PlanKey planKey)
ImmutablePlanCacheService
getImmutablePlanByKey
in interface ImmutablePlanCacheService
public void reset(@NotNull PlanKey planKey)
ImmutablePlanCacheService
reset
in interface ImmutablePlanCacheService
public void reset(long planId)
ImmutablePlanCacheService
reset
in interface ImmutablePlanCacheService
public void cascadeReset(@NotNull PlanKey planKey)
ImmutablePlanCacheService
cascadeReset
in interface ImmutablePlanCacheService
public void cascadeReset(long planId)
ImmutablePlanCacheService
cascadeReset
in interface ImmutablePlanCacheService
public void resetAll()
ImmutablePlanCacheService
resetAll
in interface ImmutablePlanCacheService
public BambooCacheStats getCacheStats()
getCacheStats
in interface ImmutablePlanCacheService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |