Class PlanCacheIndicesImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.cache.index.PlanCacheIndicesImpl
-
- All Implemented Interfaces:
PlanCacheIndexer
,PlanCacheIndices
public class PlanCacheIndicesImpl extends Object implements PlanCacheIndexer, PlanCacheIndices
-
-
Constructor Summary
Constructors Constructor Description PlanCacheIndicesImpl(VcsRepositoryManager vcsRepositoryManager, ImmutablePlanCacheService immutablePlanCacheService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToIndex(@NotNull ImmutableChain chain)
Index plan.void
deindex(@NotNull PlanKey planKey)
void
deindexAll()
@NotNull PlanBranchCacheIndexer
getPlanBranchCacheIndex()
@NotNull PlanIdCacheIndexer
getPlanIdIndexer()
@NotNull PlanProjectIndexer
getPlanProjectIndex()
@NotNull PlanRepositoryIndexer
getPlanRepositoryIndex()
void
index(@NotNull ImmutableChain plan)
Reindex plan.
-
-
-
Constructor Detail
-
PlanCacheIndicesImpl
public PlanCacheIndicesImpl(VcsRepositoryManager vcsRepositoryManager, ImmutablePlanCacheService immutablePlanCacheService)
-
-
Method Detail
-
index
public void index(@NotNull @NotNull ImmutableChain plan)
Description copied from interface:PlanCacheIndexer
Reindex plan. Implementation might require cleaning up existing content of the index.- Specified by:
index
in interfacePlanCacheIndexer
-
addToIndex
public void addToIndex(@NotNull @NotNull ImmutableChain chain)
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
public void deindex(@NotNull @NotNull PlanKey planKey)
- Specified by:
deindex
in interfacePlanCacheIndexer
-
deindexAll
public void deindexAll()
- Specified by:
deindexAll
in interfacePlanCacheIndexer
-
getPlanBranchCacheIndex
@NotNull public @NotNull PlanBranchCacheIndexer getPlanBranchCacheIndex()
- Specified by:
getPlanBranchCacheIndex
in interfacePlanCacheIndices
-
getPlanIdIndexer
@NotNull public @NotNull PlanIdCacheIndexer getPlanIdIndexer()
- Specified by:
getPlanIdIndexer
in interfacePlanCacheIndices
-
getPlanRepositoryIndex
@NotNull public @NotNull PlanRepositoryIndexer getPlanRepositoryIndex()
- Specified by:
getPlanRepositoryIndex
in interfacePlanCacheIndices
-
getPlanProjectIndex
@NotNull public @NotNull PlanProjectIndexer getPlanProjectIndex()
- Specified by:
getPlanProjectIndex
in interfacePlanCacheIndices
-
-