feat: 修改 Console 相关功能参数.

pull/161/head
chen.ma 3 years ago
parent 2d88d6bb17
commit 148a50b918

@ -12,12 +12,19 @@ import lombok.Data;
@Data @Data
public class ThreadPoolQueryReqDTO extends Page { public class ThreadPoolQueryReqDTO extends Page {
/**
*
*/
private String namespace; private String namespace;
/**
* ID
*/
private String itemId; private String itemId;
/**
* 线 ID
*/
private String tpId; private String tpId;
private String tpName;
} }

@ -2,6 +2,8 @@ package io.dynamic.threadpool.config.model.biz.threadpool;
import lombok.Data; import lombok.Data;
import java.util.Date;
/** /**
* Thread Pool Resp DTO. * Thread Pool Resp DTO.
* *
@ -70,4 +72,14 @@ public class ThreadPoolRespDTO {
* *
*/ */
private Integer livenessAlarm; private Integer livenessAlarm;
/**
*
*/
private Date gmtCreate;
/**
*
*/
private Date gmtModified;
} }

@ -182,7 +182,7 @@ public class ThreadPoolBuilder implements Builder<ThreadPoolExecutor> {
* @param builder * @param builder
* @return * @return
*/ */
public static ThreadPoolExecutor buildPool(ThreadPoolBuilder builder) { private static ThreadPoolExecutor buildPool(ThreadPoolBuilder builder) {
return AbstractBuildThreadPoolTemplate.buildPool(buildInitParam(builder)); return AbstractBuildThreadPoolTemplate.buildPool(buildInitParam(builder));
} }
@ -192,7 +192,7 @@ public class ThreadPoolBuilder implements Builder<ThreadPoolExecutor> {
* @param builder * @param builder
* @return * @return
*/ */
public static ThreadPoolExecutor buildFastPool(ThreadPoolBuilder builder) { private static ThreadPoolExecutor buildFastPool(ThreadPoolBuilder builder) {
return AbstractBuildThreadPoolTemplate.buildFastPool(buildInitParam(builder)); return AbstractBuildThreadPoolTemplate.buildFastPool(buildInitParam(builder));
} }

Loading…
Cancel
Save