public class DefaultRetryTaskService extends Object implements RetryTaskService, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
DefaultRetryTaskService(PersistenceService persistenceService,
JediProperty jediProperty) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
ApiResponse<String> |
doRetry(String taskId,
String dataSourceName,
String operator) |
TaskProperty |
retry(String taskId,
String dataSourceName,
String operator) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public DefaultRetryTaskService(PersistenceService persistenceService, JediProperty jediProperty)
@ResponseBody public ApiResponse<String> doRetry(@RequestParam(value="taskId") String taskId, @RequestParam(value="dataSourceName",required=false) String dataSourceName, @RequestParam(value="operator") String operator)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic TaskProperty retry(String taskId, @Nullable String dataSourceName, String operator)
retry 在接口中 RetryTaskServiceCopyright © 2022 hellothomas. All rights reserved.