From aec65a2ff5a36c0085b0f022ee35f97f9c57f8ea Mon Sep 17 00:00:00 2001 From: redkale Date: Sun, 12 Mar 2023 17:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=BC=BA=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/redkale/boot/Application.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/redkale/boot/Application.java b/src/main/java/org/redkale/boot/Application.java index 141dfba3a..fbacb7810 100644 --- a/src/main/java/org/redkale/boot/Application.java +++ b/src/main/java/org/redkale/boot/Application.java @@ -124,6 +124,7 @@ public final class Application { */ public static final String RESNAME_SERVER_RESFACTORY = "SERVER_RESFACTORY"; + //UDP协议的ByteBuffer Capacity private static final int UDP_CAPACITY = 1024; //本进程节点ID @@ -172,6 +173,7 @@ public final class Application { //只存放不以system.property.、mimetype.property.、redkale.开头的配置项 private final Properties envProperties = new Properties(); + //envProperties更新锁 private final ReentrantLock envPropertiesLock = new ReentrantLock(); //配置信息,只读版Properties @@ -218,11 +220,10 @@ public final class Application { //是否用于编译模式运行 private final boolean compileMode; - //根WatchFactory - //private final WatchFactory watchFactory = WatchFactory.root(); //进程根目录 private final File home; + //进程根目录 private final String homePath; //配置文件目录 @@ -246,11 +247,6 @@ public final class Application { //Server根ClassLoader private final RedkaleClassLoader serverClassLoader; - //config: 不带redkale的配置项 - Application(final AnyValue config) { - this(false, false, config); - } - @SuppressWarnings("UseSpecificCatch") //config: 不带redkale的配置项 Application(final boolean singletonMode, boolean compileMode, final AnyValue config) { this.singletonMode = singletonMode;