public final class ApplicationConfigCache
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
com.alipay.sofa.rpc.config.ConsumerConfig<com.alipay.sofa.rpc.api.GenericService> |
build(org.apache.shenyu.common.dto.MetaData metaData)
Build reference config.
|
com.alipay.sofa.rpc.config.ConsumerConfig<com.alipay.sofa.rpc.api.GenericService> |
get(java.lang.String path)
Get reference config.
|
static ApplicationConfigCache |
getInstance()
Gets instance.
|
java.util.concurrent.ThreadPoolExecutor |
getThreadPool()
get thread pool, just for integrated test.
|
void |
init(org.apache.shenyu.common.dto.convert.plugin.SofaRegisterConfig sofaRegisterConfig)
Init.
|
com.alipay.sofa.rpc.config.ConsumerConfig<com.alipay.sofa.rpc.api.GenericService> |
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.SofaRegisterConfig sofaRegisterConfig)
sofaRegisterConfig - the sofa register configpublic com.alipay.sofa.rpc.config.ConsumerConfig<com.alipay.sofa.rpc.api.GenericService> initRef(org.apache.shenyu.common.dto.MetaData metaData)
metaData - the meta datapublic com.alipay.sofa.rpc.config.ConsumerConfig<com.alipay.sofa.rpc.api.GenericService> build(org.apache.shenyu.common.dto.MetaData metaData)
metaData - the meta datapublic com.alipay.sofa.rpc.config.ConsumerConfig<com.alipay.sofa.rpc.api.GenericService> get(java.lang.String path)
path - pathpublic void invalidate(java.lang.String path)
path - the path namepublic void invalidateAll()
public java.util.concurrent.ThreadPoolExecutor getThreadPool()
Copyright © 2026 The Apache Software Foundation. All rights reserved.