@EnableScheduling @EnableBatchProcessing @Import(value={Job1Configuration.class,Job2Configuration.class,JobScheduler.class,PrometheusConfiguration.class}) @PropertySource(value="metrics-sample.properties") public class BatchMetricsApplication extends java.lang.Object
Constructor and Description |
---|
BatchMetricsApplication() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
taskScheduler(int threadPoolSize) |