@EnableScheduling
@Configuration
public class MockDataBatchProcess
extends java.lang.Object
implements org.springframework.scheduling.annotation.SchedulingConfigurer
| Constructor and Description |
|---|
MockDataBatchProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar scheduledTaskRegistrar) |
void |
loadRequestdata() |
void |
scheduleTaskCleanUnused() |
@PostConstruct public void loadRequestdata()
public void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar scheduledTaskRegistrar)
configureTasks in interface org.springframework.scheduling.annotation.SchedulingConfigurer@Scheduled(cron="${virtualan.cron.expression:0 0 0 * * ?}")
public void scheduleTaskCleanUnused()
Copyright © 2020. All Rights Reserved.