Package jadex.bridge.sensor.service
Class WaitqueueProperty
- java.lang.Object
-
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
-
- jadex.bridge.nonfunctional.SimpleValueNFProperty<java.lang.Integer,java.lang.Void>
-
- jadex.bridge.sensor.service.WaitqueueProperty
-
- All Implemented Interfaces:
INFProperty<java.lang.Integer,java.lang.Void>
public class WaitqueueProperty extends SimpleValueNFProperty<java.lang.Integer,java.lang.Void>
Property for the waitqueue length (in calls) of a method or a service.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFProperty
INFProperty.Target
-
-
Field Summary
Fields Modifier and Type Field Description 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.-
Fields inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
comp, value
-
Fields inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
metainfo
-
-
Constructor Summary
Constructors Constructor Description WaitqueueProperty(IInternalAccess comp, IService service, MethodInfo method)
Create a new property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
dispose()
Property was removed and should be disposed.java.lang.Integer
measureValue()
Measure the value.-
Methods inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
getComponent, getPrettyPrintValue, getValue, setValue
-
Methods inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
createProperty, getMetaInfo, getName, getValue, readNFProperties
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
The name of the property.- See Also:
- Constant Field Values
-
sid
protected IServiceIdentifier sid
The service identifier.
-
listener
protected IMethodInvocationListener listener
The listener.
-
method
protected MethodInfo method
The method info.
-
-
Constructor Detail
-
WaitqueueProperty
public WaitqueueProperty(IInternalAccess comp, IService service, MethodInfo method)
Create a new property.
-
-
Method Detail
-
measureValue
public java.lang.Integer measureValue()
Measure the value.- Specified by:
measureValue
in classSimpleValueNFProperty<java.lang.Integer,java.lang.Void>
-
dispose
public IFuture<java.lang.Void> dispose()
Property was removed and should be disposed.- Specified by:
dispose
in interfaceINFProperty<java.lang.Integer,java.lang.Void>
- Overrides:
dispose
in classAbstractNFProperty<java.lang.Integer,java.lang.Void>
-
-