Class PlanCacheIndicesImpl
java.lang.Object
com.atlassian.bamboo.plan.cache.index.PlanCacheIndicesImpl
- All Implemented Interfaces:
PlanCacheIndexer
,PlanCacheIndices
-
Constructor Summary
ConstructorDescriptionPlanCacheIndicesImpl
(VcsRepositoryManager vcsRepositoryManager, ImmutablePlanCacheService immutablePlanCacheService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIndex
(@NotNull ImmutableChain chain) Index plan.void
void
@NotNull PlanBranchCacheIndexer
@NotNull PlanIdCacheIndexer
@NotNull PlanProjectIndexer
@NotNull PlanRepositoryIndexer
void
index
(@NotNull ImmutableChain plan) Reindex plan.
-
Constructor Details
-
PlanCacheIndicesImpl
public PlanCacheIndicesImpl(VcsRepositoryManager vcsRepositoryManager, ImmutablePlanCacheService immutablePlanCacheService)
-
-
Method Details
-
index
Description copied from interface:PlanCacheIndexer
Reindex plan. Implementation might require cleaning up existing content of the index.- Specified by:
index
in interfacePlanCacheIndexer
-
addToIndex
Description copied from interface:PlanCacheIndexer
Index plan. This method is used during initialisation. Implementation can assume that plan wasn't previously indexed.- Specified by:
addToIndex
in interfacePlanCacheIndexer
-
deindex
- Specified by:
deindex
in interfacePlanCacheIndexer
-
deindexAll
public void deindexAll()- Specified by:
deindexAll
in interfacePlanCacheIndexer
-
getPlanBranchCacheIndex
- Specified by:
getPlanBranchCacheIndex
in interfacePlanCacheIndices
-
getPlanIdIndexer
- Specified by:
getPlanIdIndexer
in interfacePlanCacheIndices
-
getPlanRepositoryIndex
- Specified by:
getPlanRepositoryIndex
in interfacePlanCacheIndices
-
getPlanProjectIndex
- Specified by:
getPlanProjectIndex
in interfacePlanCacheIndices
-