@CrossOrigin @RestController public class WebThreadPoolController extends Object
At present, only Tomcat is well supported, and other web containers need to be improved.
| 构造器和说明 |
|---|
WebThreadPoolController() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result<ThreadPoolBaseInfo> |
getPoolBaseState(String mark) |
Result<ThreadPoolRunStateInfo> |
getPoolRunState() |
Result<Void> |
updateWebThreadPool(ThreadPoolParameterInfo threadPoolParameterInfo) |
@GetMapping(value="/web/base/info") public Result<ThreadPoolBaseInfo> getPoolBaseState(@RequestParam(value="mark") String mark)
@GetMapping(value="/web/run/state") public Result<ThreadPoolRunStateInfo> getPoolRunState()
@PostMapping(value="/web/update/pool") public Result<Void> updateWebThreadPool(@RequestBody ThreadPoolParameterInfo threadPoolParameterInfo)
Copyright © 2023. All rights reserved.