Table of Contents

Class Sensor

Namespace
Org.Apache.Kafka.Common.Metrics
Assembly
MASES.KNet.dll
public class Sensor : JVMBridgeBase<Sensor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Sensor>
Sensor
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Sensor>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Sensor>.IsAssignableFrom<T>()
JVMBridgeBase<Sensor>.Execute<T>(params T[])
JVMBridgeBase<Sensor>.DynBridgeClazz
JVMBridgeBase<Sensor>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

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

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Add(MetricName, MeasurableStat)

public bool Add(MetricName arg0, MeasurableStat arg1)

Parameters

arg0 MetricName

MetricName

arg1 MeasurableStat

MeasurableStat

Returns

bool

bool

Add(MetricName, MeasurableStat, MetricConfig)

public bool Add(MetricName arg0, MeasurableStat arg1, MetricConfig arg2)

Parameters

arg0 MetricName

MetricName

arg1 MeasurableStat

MeasurableStat

arg2 MetricConfig

MetricConfig

Returns

bool

bool

Add(CompoundStat)

public bool Add(CompoundStat arg0)

Parameters

arg0 CompoundStat

CompoundStat

Returns

bool

bool

Add(CompoundStat, MetricConfig)

public bool Add(CompoundStat arg0, MetricConfig arg1)

Parameters

arg0 CompoundStat

CompoundStat

arg1 MetricConfig

MetricConfig

Returns

bool

bool

CheckQuotas()

public void CheckQuotas()

CheckQuotas(long)

public void CheckQuotas(long arg0)

Parameters

arg0 long

long

HasExpired()

public bool HasExpired()

Returns

bool

bool

HasMetrics()

public bool HasMetrics()

Returns

bool

bool

Name()

public String Name()

Returns

String

String

Record()

public void Record()

Record(double)

public void Record(double arg0)

Parameters

arg0 double

double

Record(double, long)

public void Record(double arg0, long arg1)

Parameters

arg0 double

double

arg1 long

long

Record(double, long, bool)

public void Record(double arg0, long arg1, bool arg2)

Parameters

arg0 double

double

arg1 long

long

arg2 bool

bool

ShouldRecord()

public bool ShouldRecord()

Returns

bool

bool