Package org.molgenis.data.index.job
Interface IndexJobScheduler
-
- All Known Implementing Classes:
IndexJobSchedulerImpl
public interface IndexJobSchedulerSchedulesIndexJobServices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanupJobExecutions()voidscheduleIndexJob(String transactionId)Schedules a job to rebuild the index for all changes made in the context of a specific transaction.voidwaitForAllIndicesStable()voidwaitForIndexToBeStableIncludingReferences(EntityType entityType)
-
-
-
Method Detail
-
scheduleIndexJob
void scheduleIndexJob(String transactionId)
Schedules a job to rebuild the index for all changes made in the context of a specific transaction. Does nothing if no IndexActionJob exists for this transactionId.- Parameters:
transactionId- the ID of the transaction.
-
waitForAllIndicesStable
void waitForAllIndicesStable() throws InterruptedException- Throws:
InterruptedException
-
waitForIndexToBeStableIncludingReferences
void waitForIndexToBeStableIncludingReferences(EntityType entityType) throws InterruptedException
- Throws:
InterruptedException
-
cleanupJobExecutions
void cleanupJobExecutions()
-
-