@Component @Configuration @EnableScheduling public class TaskService extends Object
| 构造器和说明 |
|---|
TaskService() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkTaskFinished(long userId) |
void |
clear() |
void |
createTaskForUser(TaskTemplate taskTemplate,
long userId,
Object... taskInputs) |
Map |
httpQps(long interval) |
Map |
httpStat() |
UseCase |
queryUseCase(long userId,
int caseIdx) |
List<UserTask> |
queryUserTasks(long userIdFrom,
long usersCount) |
void |
recordStartTasks(int stationsCount) |
void |
startTask(long userId,
Station station) |
void |
updateTasksByStationFinished() |
void |
userStartTask(long userId) |
void |
userStartTaskWithStations(long userIdFrom,
long usersCount,
StationTemplate stationTepmlate,
int stationsCount) |
public void createTaskForUser(TaskTemplate taskTemplate, long userId, Object... taskInputs) throws Exception
Exceptionpublic void userStartTask(long userId)
public void startTask(long userId,
Station station)
public UseCase queryUseCase(long userId, int caseIdx)
public void clear()
public void userStartTaskWithStations(long userIdFrom,
long usersCount,
StationTemplate stationTepmlate,
int stationsCount)
public void updateTasksByStationFinished()
public void recordStartTasks(int stationsCount)
public boolean checkTaskFinished(long userId)
public Map httpStat()
public Map httpQps(long interval)
Copyright © 2022. All rights reserved.