Class Sensor
public class Sensor : JVMBridgeBase<Sensor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Sensor
- Implements
- Inherited Members
Constructors
Sensor()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Sensor()
Sensor(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Sensor(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Add(MetricName, MeasurableStat)
public bool Add(MetricName arg0, MeasurableStat arg1)
Parameters
arg0
MetricNamearg1
MeasurableStat
Returns
Add(MetricName, MeasurableStat, MetricConfig)
public bool Add(MetricName arg0, MeasurableStat arg1, MetricConfig arg2)
Parameters
arg0
MetricNamearg1
MeasurableStatarg2
MetricConfig
Returns
Add(CompoundStat)
public bool Add(CompoundStat arg0)
Parameters
arg0
CompoundStat
Returns
Add(CompoundStat, MetricConfig)
public bool Add(CompoundStat arg0, MetricConfig arg1)
Parameters
arg0
CompoundStatarg1
MetricConfig
Returns
CheckQuotas()
public void CheckQuotas()
CheckQuotas(long)
public void CheckQuotas(long arg0)
Parameters
HasExpired()
public bool HasExpired()
Returns
HasMetrics()
public bool HasMetrics()
Returns
Name()
public String Name()
Returns
Record()
public void Record()
Record(double)
public void Record(double arg0)
Parameters
Record(double, long)
public void Record(double arg0, long arg1)
Parameters
Record(double, long, bool)
public void Record(double arg0, long arg1, bool arg2)
Parameters
ShouldRecord()
public bool ShouldRecord()