@Test public void setProperties() { MetricsConfig config = new MetricsConfig(mMetricsProps); Properties masterProp = config.getProperties(); assertEquals(4, masterProp.size()); assertEquals("alluxio.metrics.sink.ConsoleSink", masterProp.getProperty("sink.console.class")); assertEquals("15", masterProp.getProperty("sink.console.period")); assertEquals("minutes", masterProp.getProperty("sink.console.unit")); assertEquals("alluxio.metrics.sink.JmxSink", masterProp.getProperty("sink.jmx.class")); }
public Properties getProperties() { return mProperties; }
MetricsConfig { public Properties getProperties() { return mProperties; } }
MetricsConfig { public Properties getProperties() { return mProperties; } MetricsConfig(String configFile);  MetricsConfig(Properties properties); }
MetricsConfig { public Properties getProperties() { return mProperties; } MetricsConfig(String configFile);  MetricsConfig(Properties properties); Properties getProperties(); static Map<String, Properties> subProperties(Properties prop, String regex); @Override String toString(); }
MetricsConfig { public Properties getProperties() { return mProperties; } MetricsConfig(String configFile);  MetricsConfig(Properties properties); Properties getProperties(); static Map<String, Properties> subProperties(Properties prop, String regex); @Override String toString();  }