public final class HystrixDynamicPropertiesSystemProperties extends java.lang.Object implements HystrixDynamicProperties
HystrixDynamicProperties.Util
Constructor and Description |
---|
HystrixDynamicPropertiesSystemProperties()
Only public for unit test purposes.
|
Modifier and Type | Method and Description |
---|---|
HystrixDynamicProperty<java.lang.Boolean> |
getBoolean(java.lang.String name,
java.lang.Boolean fallback)
Requests a property that may or may not actually exist.
|
static HystrixDynamicProperties |
getInstance() |
HystrixDynamicProperty<java.lang.Integer> |
getInteger(java.lang.String name,
java.lang.Integer fallback)
Requests a property that may or may not actually exist.
|
HystrixDynamicProperty<java.lang.Long> |
getLong(java.lang.String name,
java.lang.Long fallback)
Requests a property that may or may not actually exist.
|
HystrixDynamicProperty<java.lang.String> |
getString(java.lang.String name,
java.lang.String fallback)
Requests a property that may or may not actually exist.
|
public HystrixDynamicPropertiesSystemProperties()
public static HystrixDynamicProperties getInstance()
public HystrixDynamicProperty<java.lang.Integer> getInteger(java.lang.String name, java.lang.Integer fallback)
HystrixDynamicProperties
getInteger
in interface HystrixDynamicProperties
name
- property name, never null
fallback
- default value, maybe null
null
public HystrixDynamicProperty<java.lang.String> getString(java.lang.String name, java.lang.String fallback)
HystrixDynamicProperties
getString
in interface HystrixDynamicProperties
name
- property name, never null
fallback
- default value, maybe null
null
public HystrixDynamicProperty<java.lang.Long> getLong(java.lang.String name, java.lang.Long fallback)
HystrixDynamicProperties
getLong
in interface HystrixDynamicProperties
name
- property name, never null
fallback
- default value, maybe null
null
public HystrixDynamicProperty<java.lang.Boolean> getBoolean(java.lang.String name, java.lang.Boolean fallback)
HystrixDynamicProperties
getBoolean
in interface HystrixDynamicProperties
name
- property namefallback
- default valuenull