public ScalePolicyDO getPolicyById(final String id) {
        return cache.get(id);
    }
get policy by id.

@param id id
@return ScalePolicyDO
shenyu-admin/src/main/java/org/apache/shenyu/admin/scale/scaler/cache/ScalePolicyCache.java