您好, OSGBCacheBuilder 类提供的 setSimplifyPercent 接口使用方式,可参考以下示例使用:
HashMap<Integer, Double> simplifyPercent = new HashMap<>();
simplifyPercent.put(1, 0.75);
simplifyPercent.put(2, 0.5);
simplifyPercent.put(3, 0.25);
osgbCacheBuilder.setSimplifyPercent(simplifyPercent);
希望可以帮到您。