@Override
    public void removeRule(final RuleData ruleData) {
        Optional.ofNullable(ruleData)
                .ifPresent(s -> CACHED_HANDLE.get().removeHandle(CacheKeyUtils.INST.getKey(ruleData)));
    }
The type mock plugin data subscriber.
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/handler/MockPluginHandler.java