public static DataCacheInfo analyzeDataCacheInfo(Map<String, String> properties) throws AnalysisException {
        boolean enableDataCache = analyzeBooleanProp(properties, PropertyAnalyzer.PROPERTIES_DATACACHE_ENABLE, true);

        boolean enableAsyncWriteBack =
                analyzeBooleanProp(properties, PropertyAnalyzer.PROPERTIES_ENABLE_ASYNC_WRITE_BACK, false);
        if (enableAsyncWriteBack) {
            throw new AnalysisException("enable_async_write_back is disabled since version 3.1.4");
        }
        return new DataCacheInfo(enableDataCache, enableAsyncWriteBack);
    }
@Test
    public void testAnalyzeDataCacheInfo() {
        Map<String, String> properties = new HashMap<>();
        properties.put(PropertyAnalyzer.PROPERTIES_DATACACHE_ENABLE, "true");
        properties.put(PropertyAnalyzer.PROPERTIES_ENABLE_ASYNC_WRITE_BACK, "true");

        try {
            PropertyAnalyzer.analyzeDataCacheInfo(properties);
            Assert.assertTrue(false);
        } catch (AnalysisException e) {
            Assert.assertEquals("enable_async_write_back is disabled since version 3.1.4", e.getMessage());
        }
    }