public class SchedulerService extends Object implements org.springframework.context.ApplicationContextAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
| 构造器和说明 |
|---|
SchedulerService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeTask(TaskScheduled taskScheduled) |
void |
delTask(TaskScheduled taskScheduled) |
void |
execTask(TaskScheduled taskScheduler) |
List<TaskScheduled> |
getAllTaskDetail() |
TaskFireLog |
getFireLogById(Long id) |
void |
openTask(TaskScheduled taskScheduled) |
com.baomidou.mybatisplus.plugins.Page<TaskFireLog> |
queryLog(Map<String,Object> params) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
TaskFireLog |
updateLog(TaskFireLog record) |
void |
updateTask(TaskScheduled taskScheduled) |
protected org.springframework.context.ApplicationContext applicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwarepublic List<TaskScheduled> getAllTaskDetail()
public void execTask(TaskScheduled taskScheduler)
public void openTask(TaskScheduled taskScheduled)
public void closeTask(TaskScheduled taskScheduled)
public void delTask(TaskScheduled taskScheduled)
public void updateTask(TaskScheduled taskScheduled)
@Cacheable(value="taskFireLog") public TaskFireLog getFireLogById(Long id)
@Transactional @CachePut(value="taskFireLog") public TaskFireLog updateLog(TaskFireLog record)
public com.baomidou.mybatisplus.plugins.Page<TaskFireLog> queryLog(Map<String,Object> params)
Copyright © 2017. All rights reserved.