Package com.atlassian.bamboo.plan.cache
Interface ImmutablePlanCacheService.CacheInvalidator
-
- All Known Implementing Classes:
AbstractByPredicateCacheInvalidator
,BranchMetadataInvalidator
,BuildDefinitionInvalidator
- Enclosing interface:
- ImmutablePlanCacheService
@Internal public static interface ImmutablePlanCacheService.CacheInvalidator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
getChainsToInvalidateAndReindex(@NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap, @NotNull PlanCacheIndices planCacheIndices, @NotNull Set<PlanKey> chainsToInvalidate, @NotNull Set<PlanKey> chainsToReindex)
Guidelines: if the entity for which invalidation is triggered is not in index, only invalidate.String
getDescription()
-
-
-
Method Detail
-
getDescription
String getDescription()
-
getChainsToInvalidateAndReindex
void getChainsToInvalidateAndReindex(@NotNull @NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull @NotNull com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap, @NotNull @NotNull PlanCacheIndices planCacheIndices, @NotNull @NotNull Set<PlanKey> chainsToInvalidate, @NotNull @NotNull Set<PlanKey> chainsToReindex)
Guidelines: if the entity for which invalidation is triggered is not in index, only invalidate. If it is in index and you're deleting it, invalidate and reindex. If it is in the index and you're updating it, only reindex.
-
-