com.emc.mongoose.base.config.BundledDefaultsProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-base Show documentation
Show all versions of mongoose-base Show documentation
Mongoose is a high-load storage performance testing tool
package com.emc.mongoose.base.config;
import static com.emc.mongoose.base.Constants.APP_NAME;
import static com.emc.mongoose.base.Constants.PATH_DEFAULTS;
import com.github.akurilov.confuse.io.yaml.YamlConfigProviderBase;
import java.io.InputStream;
public class BundledDefaultsProvider extends YamlConfigProviderBase {
@Override
protected final InputStream configInputStream() {
return getClass().getResourceAsStream("/" + PATH_DEFAULTS);
}
@Override
public final String id() {
return APP_NAME;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy