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.
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Cancels all running and future reindexing jobs.int
Deprecated.int
Deprecated.Does the same thing asIResourceReindexingSvc.runReindexingPass()
but makes sure to perform at least one pass even if one is half finishedvoid
Deprecated.Deprecated.Marks all indexes as needing fresh indexingmarkAllResourcesForReindexing
(String theType) Deprecated.Marks all indexes of the given type as needing fresh indexingDeprecated.void
scheduleJobs
(ca.uhn.fhir.jpa.model.sched.ISchedulerService theSchedulerService) Deprecated.void
setResourceReindexerForUnitTest
(ResourceReindexer theResourceReindexer) Deprecated.void
start()
Deprecated.
-
Constructor Details
-
ResourceReindexingSvcImpl
public ResourceReindexingSvcImpl()Deprecated.
-
-
Method Details
-
start
Deprecated. -
initExecutor
Deprecated. -
scheduleJobs
Deprecated.- Specified by:
scheduleJobs
in interfaceca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
-
markAllResourcesForReindexing
Deprecated.Description copied from interface:IResourceReindexingSvc
Marks all indexes as needing fresh indexing- Specified by:
markAllResourcesForReindexing
in interfaceIResourceReindexingSvc
- Returns:
- Returns the job ID
-
markAllResourcesForReindexing
Deprecated.Description copied from interface:IResourceReindexingSvc
Marks all indexes of the given type as needing fresh indexing- Specified by:
markAllResourcesForReindexing
in interfaceIResourceReindexingSvc
- Returns:
- Returns the job ID
-
runReindexingPass
Deprecated.- Specified by:
runReindexingPass
in 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:IResourceReindexingSvc
Does the same thing asIResourceReindexingSvc.runReindexingPass()
but makes sure to perform at least one pass even if one is half finished- Specified by:
forceReindexingPass
in interfaceIResourceReindexingSvc
-
cancelAndPurgeAllJobs
Deprecated.Description copied from interface:IResourceReindexingSvc
Cancels all running and future reindexing jobs. This is mainly intended to be used by unit tests.- Specified by:
cancelAndPurgeAllJobs
in interfaceIResourceReindexingSvc
-
countReindexJobs
Deprecated.- Specified by:
countReindexJobs
in interfaceIResourceReindexingSvc
-
setResourceReindexerForUnitTest
Deprecated.
-
IJobCoordinator.startInstance(JobInstanceStartRequest)
instead.