@Test public void getValueWhenGlobalConfOverridesPropertyWithDefaultValue() throws Exception { try (Closeable c = new ConfigurationRule(PropertyKey.UNDERFS_LISTING_LENGTH, "2000", mConfiguration) .toResource()) { UnderFileSystemConfiguration conf = UnderFileSystemConfiguration.defaults(mConfiguration); assertEquals("2000", conf.get(PropertyKey.UNDERFS_LISTING_LENGTH)); } }
public static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf) { return new UnderFileSystemConfiguration(alluxioConf.copyProperties()); }
UnderFileSystemConfiguration extends InstancedConfiguration { public static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf) { return new UnderFileSystemConfiguration(alluxioConf.copyProperties()); } }
UnderFileSystemConfiguration extends InstancedConfiguration { public static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf) { return new UnderFileSystemConfiguration(alluxioConf.copyProperties()); } private  UnderFileSystemConfiguration(AlluxioProperties props); }
UnderFileSystemConfiguration extends InstancedConfiguration { public static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf) { return new UnderFileSystemConfiguration(alluxioConf.copyProperties()); } private  UnderFileSystemConfiguration(AlluxioProperties props); static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf); Map<String, String> getMountSpecificConf(); boolean isReadOnly(); boolean isShared(); UnderFileSystemConfiguration setReadOnly(boolean readOnly); UnderFileSystemConfiguration setShared(boolean shared); UnderFileSystemConfiguration createMountSpecificConf(Map<String, String> mountConf); Map<String, String> toUserPropertyMap(ConfigurationValueOptions options); }
UnderFileSystemConfiguration extends InstancedConfiguration { public static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf) { return new UnderFileSystemConfiguration(alluxioConf.copyProperties()); } private  UnderFileSystemConfiguration(AlluxioProperties props); static UnderFileSystemConfiguration defaults(AlluxioConfiguration alluxioConf); Map<String, String> getMountSpecificConf(); boolean isReadOnly(); boolean isShared(); UnderFileSystemConfiguration setReadOnly(boolean readOnly); UnderFileSystemConfiguration setShared(boolean shared); UnderFileSystemConfiguration createMountSpecificConf(Map<String, String> mountConf); Map<String, String> toUserPropertyMap(ConfigurationValueOptions options);  }