job execution indefinitely every repeatInterval, with the given jobKey. null or illegal, no job is created and null is returned. If properties are provided, all of them must be serializable. If there are non serializable objects in the properties, no job is created and null is returned. A job topic is a hierarchical name separated by dashes, each part has to start with a letter, allowed characters are letters, numbers and the underscore. The returned job object is a snapshot of the job state taken at the time of creation. Updates to the job state are not reflected and the client needs to get a new job object using the job id. If the queue for processing this job is configured to drop the job, null is returned as well.
@param topic The required job topic.
@param properties Optional job properties. The properties must be serializable.
@return The new job - or null if the job could not be created.
@since 1.2
Add the given Job to the Scheduler - with no associated Trigger. The Job will be 'dormant' until it is scheduled with a Trigger, or Scheduler.triggerJob() is called for it.
The Job must by definition be 'durable', if it is not, SchedulerException will be thrown.
replace is false.
| |