public class DefaultConfigFileChecker extends Object implements IConfigFileChecker, Runnable
IConfigFileChecker.Status
Constructor and Description |
---|
DefaultConfigFileChecker() |
Modifier and Type | Method and Description |
---|---|
void |
addStatus(IConfigFileChecker.Status status)
添加配置文件状态
|
void |
close() |
void |
initialize(long timeInterval)
初始化
|
boolean |
isInitialized()
是否已初始化
|
void |
run() |
public void initialize(long timeInterval)
IConfigFileChecker
initialize
in interface IConfigFileChecker
timeInterval
- 时间间隔(毫秒)public boolean isInitialized()
IConfigFileChecker
isInitialized
in interface IConfigFileChecker
public void addStatus(IConfigFileChecker.Status status)
IConfigFileChecker
addStatus
in interface IConfigFileChecker
status
- 配置文件状态对象public void close()
close
in interface AutoCloseable
Copyright © 2022. All rights reserved.