Package ca.uhn.fhir.jpa.search
Class StaleSearchDeletingSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.search.StaleSearchDeletingSvcImpl
- All Implemented Interfaces:
ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
,IStaleSearchDeletingSvc
public class StaleSearchDeletingSvcImpl
extends Object
implements IStaleSearchDeletingSvc, ca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
Deletes old searches
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Instant
Calculate a deadline to finish before the next scheduled run.void
void
scheduleJobs
(ca.uhn.fhir.jpa.model.sched.ISchedulerService theSchedulerService) void
-
Constructor Details
-
StaleSearchDeletingSvcImpl
public StaleSearchDeletingSvcImpl()
-
-
Method Details
-
pollForStaleSearchesAndDeleteThem
- Specified by:
pollForStaleSearchesAndDeleteThem
in interfaceIStaleSearchDeletingSvc
-
getDeadline
Calculate a deadline to finish before the next scheduled run. -
scheduleJobs
- Specified by:
scheduleJobs
in interfaceca.uhn.fhir.jpa.model.sched.IHasScheduledJobs
-
schedulePollForStaleSearches
- Specified by:
schedulePollForStaleSearches
in interfaceIStaleSearchDeletingSvc
-