public interface INFPropertyProvider
| Modifier and Type | Method and Description |
|---|---|
IFuture<java.lang.Void> |
addNFProperty(INFProperty<?,?> nfprop)
Add a non-functional property.
|
IFuture<java.lang.String[]> |
getNFAllPropertyNames()
Returns the names of all non-functional properties of this service.
|
IFuture<INFPropertyMetaInfo> |
getNFPropertyMetaInfo(java.lang.String name)
Returns the meta information about a non-functional property of this service.
|
IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> |
getNFPropertyMetaInfos()
Returns the meta information about a non-functional property of this service.
|
IFuture<java.lang.String[]> |
getNFPropertyNames()
Returns the declared names of all non-functional properties of this service.
|
<T> IFuture<T> |
getNFPropertyValue(java.lang.String name)
Returns the current value of a non-functional property of this service.
|
<T,U> IFuture<T> |
getNFPropertyValue(java.lang.String name,
U unit)
Returns the current value of a non-functional property of this service, performs unit conversion.
|
IFuture<java.lang.Void> |
removeNFProperty(java.lang.String name)
Remove a non-functional property.
|
IFuture<java.lang.Void> |
shutdownNFPropertyProvider()
Shutdown the provider.
|
IFuture<java.lang.String[]> getNFPropertyNames()
IFuture<java.lang.String[]> getNFAllPropertyNames()
IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getNFPropertyMetaInfos()
name - Name of the property.IFuture<INFPropertyMetaInfo> getNFPropertyMetaInfo(java.lang.String name)
name - Name of the property.<T> IFuture<T> getNFPropertyValue(java.lang.String name)
name - Name of the property.type - Type of the property value.<T,U> IFuture<T> getNFPropertyValue(java.lang.String name, U unit)
name - Name of the property.type - Type of the property value.unit - Unit of the property value.IFuture<java.lang.Void> addNFProperty(INFProperty<?,?> nfprop)
nfprop - The property.IFuture<java.lang.Void> removeNFProperty(java.lang.String name)
The - name.IFuture<java.lang.Void> shutdownNFPropertyProvider()