io.quarkus.quartz.runtime.QuartzRecorder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-quartz Show documentation
Show all versions of quarkus-quartz Show documentation
Schedule clustered tasks with Quartz
package io.quarkus.quartz.runtime;
import java.util.Optional;
import java.util.function.Supplier;
import io.quarkus.runtime.annotations.Recorder;
@Recorder
public class QuartzRecorder {
public Supplier quartzSupportSupplier(QuartzRuntimeConfig runtimeConfig,
QuartzBuildTimeConfig buildTimeConfig, Optional driverDialect) {
return new Supplier() {
@Override
public QuartzSupport get() {
return new QuartzSupport(runtimeConfig, buildTimeConfig, driverDialect);
}
};
}
}