Skip to content

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 - 返回当前配置对象。