
org.seedstack.netflix.hystrix.HystrixConfig Maven / Gradle / Ivy
/**
* Copyright (c) 2013-2016, The SeedStack authors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.netflix.hystrix;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import org.seedstack.coffig.Config;
@Config("netflix.hystrix")
public class HystrixConfig {
private Map properties = new HashMap<>();
public Map getProperties() {
return Collections.unmodifiableMap(properties);
}
public void setProperties(Map properties) {
this.properties = new HashMap<>(properties);
}
public void addProperty(String name, String value) {
this.properties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy