Package ca.uhn.fhir.jpa.search.reindex
Interface IResourceReindexingSvc
- All Known Implementing Classes:
ResourceReindexingSvcImpl
public interface IResourceReindexingSvc
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Cancels all running and future reindexing jobs.int
Deprecated.int
Deprecated.Does the same thing asrunReindexingPass()
but makes sure to perform at least one pass even if one is half finishedDeprecated.Marks all indexes as needing fresh indexingmarkAllResourcesForReindexing
(String theType) Deprecated.Marks all indexes of the given type as needing fresh indexingDeprecated.
-
Method Details
-
markAllResourcesForReindexing
Deprecated.Marks all indexes as needing fresh indexing- Returns:
- Returns the job ID
-
markAllResourcesForReindexing
Deprecated.Marks all indexes of the given type as needing fresh indexing- Returns:
- Returns the job ID
-
runReindexingPass
Deprecated.- 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()Deprecated.Does the same thing asrunReindexingPass()
but makes sure to perform at least one pass even if one is half finished -
cancelAndPurgeAllJobs
void cancelAndPurgeAllJobs()Deprecated.Cancels all running and future reindexing jobs. This is mainly intended to be used by unit tests. -
countReindexJobs
int countReindexJobs()Deprecated.
-
IJobCoordinator.startInstance(JobInstanceStartRequest)
instead.