Table of Contents

Class KafkaMetric

Namespace
Org.Apache.Kafka.Common.Metrics
Assembly
MASES.KNet.dll
public class KafkaMetric : Metric, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMetric
Inheritance
JVMBridgeBase
JVMBridgeBase<Metric>
KafkaMetric
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Metric>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Metric>.IsAssignableFrom<T>()
JVMBridgeBase<Metric>.Execute<T>(params T[])
JVMBridgeBase<Metric>.DynBridgeClazz
JVMBridgeBase<Metric>.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

KafkaMetric()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public KafkaMetric()

KafkaMetric(object, MetricName, MetricValueProvider<object>, MetricConfig, Time)

public KafkaMetric(object arg0, MetricName arg1, MetricValueProvider<object> arg2, MetricConfig arg3, Time arg4)

Parameters

arg0 object

object

arg1 MetricName

MetricName

arg2 MetricValueProvider<object>

MetricValueProvider

arg3 MetricConfig

MetricConfig

arg4 Time

Time

KafkaMetric(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 KafkaMetric(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

Config()

public MetricConfig Config()

Returns

MetricConfig

MetricConfig

Config(MetricConfig)

public void Config(MetricConfig arg0)

Parameters

arg0 MetricConfig

MetricConfig

IsMeasurable()

public bool IsMeasurable()

Returns

bool

bool

Measurable()

public Measurable Measurable()

Returns

Measurable

Measurable

MetricName()

public MetricName MetricName()

Returns

MetricName

MetricName

MetricValue()

public object MetricValue()

Returns

object

object