public class ExecutionTimeProperty extends TimedProperty
INFProperty.Target| Modifier and Type | Field and Description |
|---|---|
protected IClockService |
clock
The clock.
|
protected IMethodInvocationListener |
listener
The listener.
|
protected MethodInfo |
method
The method info.
|
static java.lang.String |
NAME
The name of the property.
|
protected IServiceIdentifier |
sid
The service identifier.
|
comp, valuemetainfo| Constructor and Description |
|---|
ExecutionTimeProperty(IInternalAccess comp,
IService service,
MethodInfo method)
Create a new property.
|
| Modifier and Type | Method and Description |
|---|---|
IFuture<java.lang.Void> |
dispose()
Property was removed and should be disposed.
|
java.lang.Long |
measureValue()
Measure the value.
|
void |
setValue(java.lang.Long value)
Set the value.
|
getComponent, getValuecreateProperty, getMetaInfo, getName, getValue, readNFPropertiespublic static final java.lang.String NAME
protected IServiceIdentifier sid
protected IMethodInvocationListener listener
protected MethodInfo method
protected IClockService clock
public ExecutionTimeProperty(IInternalAccess comp, IService service, MethodInfo method)
public java.lang.Long measureValue()
measureValue in class SimpleValueNFProperty<java.lang.Long,TimeUnit>public void setValue(java.lang.Long value)
setValue in class SimpleValueNFProperty<java.lang.Long,TimeUnit>value - The value to set.public IFuture<java.lang.Void> dispose()
dispose in interface INFProperty<java.lang.Long,TimeUnit>dispose in class AbstractNFProperty<java.lang.Long,TimeUnit>