public final class ApplicationConfigCache
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
com.weibo.api.motan.config.RefererConfig<com.weibo.api.motan.proxy.CommonClient> |
build(org.apache.shenyu.common.dto.MetaData metaData)
Build reference config.
|
<T> com.weibo.api.motan.config.RefererConfig<T> |
get(java.lang.String path)
Get reference config.
|
static ApplicationConfigCache |
getInstance()
Gets instance.
|
void |
init(org.apache.shenyu.common.dto.convert.plugin.MotanRegisterConfig motanRegisterConfig)
Init.
|
com.weibo.api.motan.config.RefererConfig<com.weibo.api.motan.proxy.CommonClient> |
initRef(org.apache.shenyu.common.dto.MetaData metaData)
Init ref reference config.
|
void |
invalidate(java.lang.String path)
Invalidate.
|
void |
invalidateAll()
Invalidate all.
|
public static ApplicationConfigCache getInstance()
public void init(org.apache.shenyu.common.dto.convert.plugin.MotanRegisterConfig motanRegisterConfig)
motanRegisterConfig - the motan register configpublic <T> com.weibo.api.motan.config.RefererConfig<T> get(java.lang.String path)
T - the type parameterpath - pathpublic com.weibo.api.motan.config.RefererConfig<com.weibo.api.motan.proxy.CommonClient> initRef(org.apache.shenyu.common.dto.MetaData metaData)
metaData - the meta datapublic com.weibo.api.motan.config.RefererConfig<com.weibo.api.motan.proxy.CommonClient> build(org.apache.shenyu.common.dto.MetaData metaData)
metaData - the meta datapublic void invalidate(java.lang.String path)
path - the path namepublic void invalidateAll()
Copyright © 2026 The Apache Software Foundation. All rights reserved.