Class PlanIdCacheIndexer
java.lang.Object
com.atlassian.bamboo.plan.cache.index.PlanIdCacheIndexer
- All Implemented Interfaces:
PlanCacheIndexer
,PlanIdCacheIndex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIndex
(@NotNull ImmutableChain chain) Index plan.void
void
getChain
(long chainId) getChainOfJob
(long jobId) getJobsOfChain
(PlanKey chainKey) void
index
(@NotNull ImmutableChain chain) Reindex plan.
-
Constructor Details
-
PlanIdCacheIndexer
public PlanIdCacheIndexer()
-
-
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
-
getAllChainKeys
- Specified by:
getAllChainKeys
in interfacePlanIdCacheIndex
-
getChain
- Specified by:
getChain
in interfacePlanIdCacheIndex
-
getChainOfJob
- Specified by:
getChainOfJob
in interfacePlanIdCacheIndex
-
getJobsOfChain
- Specified by:
getJobsOfChain
in interfacePlanIdCacheIndex
-