interface IConfigurationManager
cangjie
public interface IConfigurationManager<T> where T <: Object功能:定义协议配置管理器接口。
成员概览
| 成员 | 功能 |
|---|---|
| func requestRefresh() | 请求刷新当前配置缓存。 |
| func getConfiguration() | 获取当前有效配置。 |
func requestRefresh()
cangjie
func requestRefresh(): Unit功能:请求刷新当前配置缓存。
返回值:
Unit
func getConfiguration()
cangjie
func getConfiguration(): T功能:获取当前有效配置。
返回值:
T- 返回当前配置对象。