Table of Contents

Class MetricConfig

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

MetricConfig()

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

public MetricConfig()

MetricConfig(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 MetricConfig(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DEFAULT_NUM_SAMPLES

public static int DEFAULT_NUM_SAMPLES { get; }

Property Value

int

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

EventWindow()

public long EventWindow()

Returns

long

long

EventWindow(long)

public MetricConfig EventWindow(long arg0)

Parameters

arg0 long

long

Returns

MetricConfig

MetricConfig

Quota()

public Quota Quota()

Returns

Quota

Quota

Quota(Quota)

public MetricConfig Quota(Quota arg0)

Parameters

arg0 Quota

Quota

Returns

MetricConfig

MetricConfig

RecordLevel()

public Sensor.RecordingLevel RecordLevel()

Returns

Sensor.RecordingLevel

Sensor.RecordingLevel

RecordLevel(RecordingLevel)

public MetricConfig RecordLevel(Sensor.RecordingLevel arg0)

Parameters

arg0 Sensor.RecordingLevel

Sensor.RecordingLevel

Returns

MetricConfig

MetricConfig

Samples()

public int Samples()

Returns

int

int

Samples(int)

public MetricConfig Samples(int arg0)

Parameters

arg0 int

int

Returns

MetricConfig

MetricConfig

Tags()

public Map<String, String> Tags()

Returns

Map<String, String>

Map

Tags(Map<String, String>)

public MetricConfig Tags(Map<String, String> arg0)

Parameters

arg0 Map<String, String>

Map

Returns

MetricConfig

MetricConfig

TimeWindow(long, TimeUnit)

public MetricConfig TimeWindow(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

MetricConfig

MetricConfig

TimeWindowMs()

public long TimeWindowMs()

Returns

long

long