加强注释
This commit is contained in:
@@ -124,6 +124,7 @@ public final class Application {
|
|||||||
*/
|
*/
|
||||||
public static final String RESNAME_SERVER_RESFACTORY = "SERVER_RESFACTORY";
|
public static final String RESNAME_SERVER_RESFACTORY = "SERVER_RESFACTORY";
|
||||||
|
|
||||||
|
//UDP协议的ByteBuffer Capacity
|
||||||
private static final int UDP_CAPACITY = 1024;
|
private static final int UDP_CAPACITY = 1024;
|
||||||
|
|
||||||
//本进程节点ID
|
//本进程节点ID
|
||||||
@@ -172,6 +173,7 @@ public final class Application {
|
|||||||
//只存放不以system.property.、mimetype.property.、redkale.开头的配置项
|
//只存放不以system.property.、mimetype.property.、redkale.开头的配置项
|
||||||
private final Properties envProperties = new Properties();
|
private final Properties envProperties = new Properties();
|
||||||
|
|
||||||
|
//envProperties更新锁
|
||||||
private final ReentrantLock envPropertiesLock = new ReentrantLock();
|
private final ReentrantLock envPropertiesLock = new ReentrantLock();
|
||||||
|
|
||||||
//配置信息,只读版Properties
|
//配置信息,只读版Properties
|
||||||
@@ -218,11 +220,10 @@ public final class Application {
|
|||||||
//是否用于编译模式运行
|
//是否用于编译模式运行
|
||||||
private final boolean compileMode;
|
private final boolean compileMode;
|
||||||
|
|
||||||
//根WatchFactory
|
|
||||||
//private final WatchFactory watchFactory = WatchFactory.root();
|
|
||||||
//进程根目录
|
//进程根目录
|
||||||
private final File home;
|
private final File home;
|
||||||
|
|
||||||
|
//进程根目录
|
||||||
private final String homePath;
|
private final String homePath;
|
||||||
|
|
||||||
//配置文件目录
|
//配置文件目录
|
||||||
@@ -246,11 +247,6 @@ public final class Application {
|
|||||||
//Server根ClassLoader
|
//Server根ClassLoader
|
||||||
private final RedkaleClassLoader serverClassLoader;
|
private final RedkaleClassLoader serverClassLoader;
|
||||||
|
|
||||||
//config: 不带redkale的配置项
|
|
||||||
Application(final AnyValue config) {
|
|
||||||
this(false, false, config);
|
|
||||||
}
|
|
||||||
|
|
||||||
@SuppressWarnings("UseSpecificCatch") //config: 不带redkale的配置项
|
@SuppressWarnings("UseSpecificCatch") //config: 不带redkale的配置项
|
||||||
Application(final boolean singletonMode, boolean compileMode, final AnyValue config) {
|
Application(final boolean singletonMode, boolean compileMode, final AnyValue config) {
|
||||||
this.singletonMode = singletonMode;
|
this.singletonMode = singletonMode;
|
||||||
|
|||||||
Reference in New Issue
Block a user