
Package ca.uhn.fhir.jpa.search.reindex
Interface IResourceReindexingSvc
- All Known Implementing Classes:
ResourceReindexingSvcImpl
public interface IResourceReindexingSvc
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Cancels all running and future reindexing jobs.int
int
Does the same thing asrunReindexingPass()
but makes sure to perform at least one pass even if one is half finishedMarks all indexes as needing fresh indexingmarkAllResourcesForReindexing
(String theType) Marks all indexes of the given type as needing fresh indexing
-
Method Details
-
markAllResourcesForReindexing
Marks all indexes as needing fresh indexing- Returns:
- Returns the job ID
-
markAllResourcesForReindexing
Marks all indexes of the given type as needing fresh indexing- Returns:
- Returns the job ID
-
runReindexingPass
- Returns:
- Returns null if the system did not attempt to perform a pass because one was already proceeding. Otherwise, returns the number of resources affected.
-
forceReindexingPass
int forceReindexingPass()Does the same thing asrunReindexingPass()
but makes sure to perform at least one pass even if one is half finished -
cancelAndPurgeAllJobs
void cancelAndPurgeAllJobs()Cancels all running and future reindexing jobs. This is mainly intended to be used by unit tests. -
countReindexJobs
int countReindexJobs()
-