|
|
@ -117,14 +117,14 @@ public class ThreadPoolRunStateInfo extends ThreadPoolBaseInfo implements Serial
|
|
|
|
private Long timestamp;
|
|
|
|
private Long timestamp;
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getSimpleCurrentLoad() {
|
|
|
|
public Integer getSimpleCurrentLoad() {
|
|
|
|
if (Objects.nonNull(getCurrentLoad())){
|
|
|
|
if (Objects.nonNull(getCurrentLoad())) {
|
|
|
|
return Integer.parseInt(getCurrentLoad().replace("%", ""));
|
|
|
|
return Integer.parseInt(getCurrentLoad().replace("%", ""));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getSimplePeakLoad() {
|
|
|
|
public Integer getSimplePeakLoad() {
|
|
|
|
if (Objects.nonNull(getPeakLoad())){
|
|
|
|
if (Objects.nonNull(getPeakLoad())) {
|
|
|
|
return Integer.parseInt(getPeakLoad().replace("%", ""));
|
|
|
|
return Integer.parseInt(getPeakLoad().replace("%", ""));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|