public void cacheRuleData(final String path, final RuleData ruleData, final int initialCapacity, final long maximumSize) {
        MapUtils.computeIfAbsent(RULE_DATA_MAP, ruleData.getPluginName(), map ->
                new WindowTinyLFUMap<>(initialCapacity, maximumSize, Boolean.FALSE)).put(path, ruleData);
    }
@Test
    public void testCacheRuleData() throws NoSuchFieldException, IllegalAccessException {
        RuleData cacheRuleData = RuleData.builder().id("1").pluginName(mockPluginName1).sort(1).build();
        MatchDataCache.getInstance().cacheRuleData(path1, cacheRuleData, 100, 100);
        ConcurrentHashMap<String, WindowTinyLFUMap<String, RuleData>> ruleMap = getFieldByName(ruleMapStr);
        assertEquals(cacheRuleData, ruleMap.get(mockPluginName1).get(path1));
        ruleMap.clear();
    }