Class ChannelConf

All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, SequencedMap<String,Object>

public class ChannelConf extends LinkedHashMap<String,Object>
渠道配置
Since:
2.1.4
Author:
zhsxin
See Also:
create time:
2023/11/20 下午5:20
  • Constructor Details

    • ChannelConf

      public ChannelConf()
  • Method Details

    • getConf

      public <T> Optional<T> getConf(String key, Type type)
      获取配置并转为指定类型
      Type Parameters:
      T - 类型
      Parameters:
      key - 配置名
      type - 类型
      Returns:
      配置