All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jobrunr.jobs.lambdas.JobRequest Maven / Gradle / Ivy

Go to download

An easy way to perform background processing on the JVM. Backed by persistent storage. Open and free for commercial use.

There is a newer version: 7.4.1
Show newest version
package org.jobrunr.jobs.lambdas;

/**
 * Classes implementing this interface can be used to enqueue a JobRunr Job and will be used as the
 * argument for the actual {@link JobRequestHandler}.
 *
 * Make sure that your {@code JobRequest} class implementation can be serialized by your chosen Json library.
 * You will need a default no-arg constructor for deserialization.
 * 

* While processing, JobRunr will lookup the actual {@link JobRequestHandler} in the IoC container or create a * new instance using the default constructor. Next, it will call the {@code run} method and pass it JobRequest as argument. */ public interface JobRequest extends JobRunrJob { Class getJobRequestHandler(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy