From bc7b676ae7b598dda3b29675d7ebea59b3fc5922 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Wed, 3 Aug 2022 08:13:21 +0800 Subject: [PATCH] Delete Dingding useless notification template --- .../platform/constant/DingAlarmConstants.java | 56 ------------------- 1 file changed, 56 deletions(-) diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java index e3f9af35..7f4aec17 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java @@ -50,60 +50,4 @@ public class DingAlarmConstants { "超时时间:%d / ms \n\n " + DING_ALARM_TIMOUT_TRACE_REPLACE_TXT + " --- \n\n "; - - /** - * 线程池报警通知文本 - */ - public static final String DING_ALARM_TXT = - "**[警报] %s - 动态线程池运行告警(%s)** \n\n" + - " --- \n\n " + - "线程池ID:%s \n\n " + - "应用名称:%s \n\n " + - "应用实例:%s \n\n " + - " --- \n\n " + - "核心线程数:%d \n\n " + - "最大线程数:%d \n\n " + - "当前线程数:%d \n\n " + - "活跃线程数:%d \n\n " + - "同存最大线程数:%d \n\n " + - "线程池任务总量:%d \n\n " + - " --- \n\n " + - "队列类型:%s \n\n " + - "队列容量:%d \n\n " + - "队列元素个数:%d \n\n " + - "队列剩余个数:%d \n\n " + - " --- \n\n " + - DING_ALARM_TIMOUT_REPLACE_TXT + - "拒绝策略:%s \n\n" + - "拒绝策略执行次数:%d \n\n " + - "OWNER:@%s \n\n" + - "提示:%d 分钟内此线程池不会重复告警(可配置) \n\n" + - " --- \n\n " + - "**播报时间:%s**"; - - /** - * 线程池参数变更通知文本 - */ - public static final String DING_NOTICE_TXT = - "**[通知] %s - 动态线程池参数变更** \n\n" + - " --- \n\n " + - "线程池ID:%s \n\n " + - "应用名称:%s \n\n " + - "应用实例:%s \n\n " + - " --- \n\n " + - "核心线程数:%s \n\n " + - "最大线程数:%s \n\n " + - "核心线程超时:%s \n\n " + - "线程存活时间:%s \n\n" + - "执行超时时间:%s \n\n" + - " --- \n\n " + - "队列类型:%s \n\n " + - "队列容量:%s \n\n " + - "AGO 拒绝策略:%s \n\n" + - "NOW 拒绝策略:%s \n\n" + - " --- \n\n " + - "提示:动态线程池配置变更实时通知(无限制) \n\n" + - "OWNER:@%s \n\n" + - " --- \n\n " + - "**播报时间:%s**"; }