Package jadex.bridge.sensor.service
Class ExecutionTimeProperty
- java.lang.Object
- 
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
- 
- jadex.bridge.nonfunctional.SimpleValueNFProperty<java.lang.Long,TimeUnit>
- 
- jadex.bridge.sensor.time.TimedProperty
- 
- jadex.bridge.sensor.service.ExecutionTimeProperty
 
 
 
 
- 
- All Implemented Interfaces:
- INFProperty<java.lang.Long,TimeUnit>
 
 public class ExecutionTimeProperty extends TimedProperty Property for the overall execution time of a method or a service.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFPropertyINFProperty.Target
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected IClockServiceclockThe clock.protected IMethodInvocationListenerlistenerThe listener.protected MethodInfomethodThe method info.static java.lang.StringNAMEThe name of the property.protected IServiceIdentifiersidThe service identifier.- 
Fields inherited from class jadex.bridge.nonfunctional.SimpleValueNFPropertycomp, value
 - 
Fields inherited from class jadex.bridge.nonfunctional.AbstractNFPropertymetainfo
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExecutionTimeProperty(IInternalAccess comp, IService service, MethodInfo method)Create a new property.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>dispose()Property was removed and should be disposed.java.lang.LongmeasureValue()Measure the value.voidsetValue(java.lang.Long value)Set the value.- 
Methods inherited from class jadex.bridge.nonfunctional.SimpleValueNFPropertygetComponent, getPrettyPrintValue, getValue
 - 
Methods inherited from class jadex.bridge.nonfunctional.AbstractNFPropertycreateProperty, getMetaInfo, getName, getValue, readNFProperties
 
- 
 
- 
- 
- 
Field Detail- 
NAMEpublic static final java.lang.String NAME The name of the property.- See Also:
- Constant Field Values
 
 - 
sidprotected IServiceIdentifier sid The service identifier.
 - 
listenerprotected IMethodInvocationListener listener The listener.
 - 
methodprotected MethodInfo method The method info.
 - 
clockprotected IClockService clock The clock.
 
- 
 - 
Constructor Detail- 
ExecutionTimePropertypublic ExecutionTimeProperty(IInternalAccess comp, IService service, MethodInfo method) Create a new property.
 
- 
 - 
Method Detail- 
measureValuepublic java.lang.Long measureValue() Measure the value.- Specified by:
- measureValuein class- SimpleValueNFProperty<java.lang.Long,TimeUnit>
 
 - 
setValuepublic void setValue(java.lang.Long value) Set the value.- Overrides:
- setValuein class- SimpleValueNFProperty<java.lang.Long,TimeUnit>
- Parameters:
- value- The value to set.
 
 - 
disposepublic IFuture<java.lang.Void> dispose() Property was removed and should be disposed.- Specified by:
- disposein interface- INFProperty<java.lang.Long,TimeUnit>
- Overrides:
- disposein class- AbstractNFProperty<java.lang.Long,TimeUnit>
 
 
- 
 
-