
Package ca.uhn.fhir.jpa.search.reindex
Class ResourceReindexingSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.search.reindex.ResourceReindexingSvcImpl
- All Implemented Interfaces:
ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs,IResourceReindexingSvc
@Deprecated
public class ResourceReindexingSvcImpl
extends Object
implements IResourceReindexingSvc, ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Cancels all running and future reindexing jobs.intDeprecated.intDeprecated.Does the same thing asIResourceReindexingSvc.runReindexingPass()but makes sure to perform at least one pass even if one is half finishedvoidDeprecated.Deprecated.Marks all indexes as needing fresh indexingmarkAllResourcesForReindexing(String theType) Deprecated.Marks all indexes of the given type as needing fresh indexingDeprecated.voidscheduleJobs(ca.uhn.fhir.jpa.model.sched.ISchedulerService theSchedulerService) Deprecated.voidsetResourceReindexerForUnitTest(ResourceReindexer theResourceReindexer) Deprecated.voidstart()Deprecated.
-
Constructor Details
-
ResourceReindexingSvcImpl
public ResourceReindexingSvcImpl()Deprecated.
-
-
Method Details
-
start
Deprecated. -
initExecutor
Deprecated. -
scheduleJobs
Deprecated.- Specified by:
scheduleJobsin interfaceca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
-
markAllResourcesForReindexing
Deprecated.Description copied from interface:IResourceReindexingSvcMarks all indexes as needing fresh indexing- Specified by:
markAllResourcesForReindexingin interfaceIResourceReindexingSvc- Returns:
- Returns the job ID
-
markAllResourcesForReindexing
Deprecated.Description copied from interface:IResourceReindexingSvcMarks all indexes of the given type as needing fresh indexing- Specified by:
markAllResourcesForReindexingin interfaceIResourceReindexingSvc- Returns:
- Returns the job ID
-
runReindexingPass
Deprecated.- Specified by:
runReindexingPassin interfaceIResourceReindexingSvc- 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
Deprecated.Description copied from interface:IResourceReindexingSvcDoes the same thing asIResourceReindexingSvc.runReindexingPass()but makes sure to perform at least one pass even if one is half finished- Specified by:
forceReindexingPassin interfaceIResourceReindexingSvc
-
cancelAndPurgeAllJobs
Deprecated.Description copied from interface:IResourceReindexingSvcCancels all running and future reindexing jobs. This is mainly intended to be used by unit tests.- Specified by:
cancelAndPurgeAllJobsin interfaceIResourceReindexingSvc
-
countReindexJobs
Deprecated.- Specified by:
countReindexJobsin interfaceIResourceReindexingSvc
-
setResourceReindexerForUnitTest
Deprecated.
-
IJobCoordinator.startInstance(JobInstanceStartRequest)instead.