|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.config.PropertyWrapper<java.lang.Float>
com.netflix.config.DynamicFloatProperty
public class DynamicFloatProperty
A dynamic property whose value is a float.
Use APIs in DynamicPropertyFactory to create instance of this class.
| Field Summary |
|---|
| Fields inherited from class com.netflix.config.PropertyWrapper |
|---|
defaultValue, prop |
| Constructor Summary | |
|---|---|
DynamicFloatProperty(java.lang.String propName,
float defaultValue)
|
|
| Method Summary | |
|---|---|
float |
get()
Get the current value from the underlying DynamicProperty |
java.lang.Float |
getValue()
Get current typed value of the property. |
| Methods inherited from class com.netflix.config.PropertyWrapper |
|---|
addCallback, addValidator, getChangedTimestamp, getDefaultValue, getDynamicProperty, getName, propertyChanged, propertyChanged, registerSubClassWithNoCallback, removeAllCallbacks, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicFloatProperty(java.lang.String propName,
float defaultValue)
| Method Detail |
|---|
public float get()
public java.lang.Float getValue()
PropertyWrapper
getValue in interface Property<java.lang.Float>getValue in class PropertyWrapper<java.lang.Float>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||