Interface IpdJobRegistry
public interface IpdJobRegistry
IPD job registry that will schedule
IpdJobs.
Registered jobs are triggered on a regular interval.- Since:
- 5.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(IpdJobRegistration jobRegistration) Register single job with options.voidRegister single job.voidshutdown()Unregisters all jobs.default voidunregister(IpdJob job) Unregisters a single job.voidunregister(Class<? extends IpdJob> jobClass) Unregisters a single job by its class.
-
Method Details
-
register
Register single job. Only a single job can be registered for a single job class name.Overrides existing job if it was registered before.
- Parameters:
job- job to registerkey- unique key for the job, should be dot-separated string e.g. database.connection.latency
-
unregister
Unregisters a single job. -
unregister
Unregisters a single job by its class. -
register
Register single job with options. Only a single job can be registered for a single job class name.Overrides existing job if it was registered before.
-
shutdown
void shutdown()Unregisters all jobs.
-