public final class StalkerConfigManager extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static StalkerConfigManager |
getInstance()
获取到唯一的 StalkerConfigManager 实例.
|
void |
reLoadOptions(Options options)
重新加载指定的选项参数 options 对象作为默认的 options 对象.
|
void |
reLoadOptions(Options options,
ScheduledUpdater scheduledUpdater)
重新加载指定的选项参数 options 对象作为默认的 options 对象.
|
public static StalkerConfigManager getInstance()
public void reLoadOptions(Options options)
重载传入的options前,对options的参数合法性做校验.
options - 选项参数public void reLoadOptions(Options options, ScheduledUpdater scheduledUpdater)
重载传入的options前,对options的参数合法性做校验.
options - 选项参数scheduledUpdater - 用于定时更新测量的统计数据更新器配置参数Copyright © 2020. All rights reserved.