public final class ApplicationConfigCache
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
ShenyuServiceInstanceLists |
get(java.lang.String contextPath)
Get shenyuServiceInstanceList.
|
static ApplicationConfigCache |
getInstance()
Gets instance.
|
void |
initPrx(org.apache.shenyu.common.dto.SelectorData selectorData)
Init prx.
|
void |
invalidate(java.lang.String contextPath)
invalidate client.
|
void |
watch(java.lang.String key,
java.util.function.Consumer<java.lang.Object> consumer)
Refresh.
|
public ShenyuServiceInstanceLists get(java.lang.String contextPath)
contextPath - contextPathpublic void initPrx(org.apache.shenyu.common.dto.SelectorData selectorData)
selectorData - selectorDatapublic void invalidate(java.lang.String contextPath)
contextPath - contextPathpublic void watch(java.lang.String key,
java.util.function.Consumer<java.lang.Object> consumer)
key - contextPathconsumer - consumerpublic static ApplicationConfigCache getInstance()
Copyright © 2021 The Apache Software Foundation. All rights reserved.