@Component public class RouterRuleCache extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ROUTE_RULE_PREFIX |
| Constructor and Description |
|---|
RouterRuleCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doInit(String targetServiceName)
cache and register callback
return false when: 1.
|
ConcurrentHashMap<String,ServiceInfoCache> |
getServiceInfoCacheMap() |
void |
onConfigurationChangedEvent(GovernanceConfigurationChangedEvent event) |
void |
refresh(String targetServiceName) |
public static final String ROUTE_RULE_PREFIX
public boolean doInit(String targetServiceName)
public void onConfigurationChangedEvent(GovernanceConfigurationChangedEvent event)
public ConcurrentHashMap<String,ServiceInfoCache> getServiceInfoCacheMap()
public void refresh(String targetServiceName)
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.