-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
type: questionFurther information is requestedFurther information is requested
Description
Question
org.apache.shenyu.plugin.divide.handler.DividePluginDataHandler#handlerRule
public void handlerRule(final RuleData ruleData) {
Optional.ofNullable(ruleData.getHandle()).ifPresent(s -> {
DivideRuleHandle divideRuleHandle = GsonUtils.getInstance().fromJson(s, DivideRuleHandle.class);
CACHED_HANDLE.get().cachedHandle(CacheKeyUtils.INST.getKey(ruleData), divideRuleHandle);
// the update is also need to clean, but there is no way to
// distinguish between crate and update, so it is always clean
MetaDataCache.getInstance().clean();
});
}
The ruleData.getHandle() here is a list pushed from the shenyu-admin, which is received by a single object, and an exception will be reported here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: questionFurther information is requestedFurther information is requested