Class MetricsReporter
Listener for Kafka MetricsReporter. Extends MASES.JCOBridge.C2JBridge.JVMBridgeListener, implements IMetricsReporter
public class MetricsReporter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IMetricsReporter, IJVMBridgeBase, IJVMBridgeDefinition, IReconfigurable, IConfigurable, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerMetricsReporter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.BridgeClazzJVMBridgeBase.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.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstract
Remarks
Dispose the object to avoid a resource leak, the object contains a reference to the corresponding JVM object
Constructors
MetricsReporter()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MetricsReporter()
Properties
BridgeClassName
public override string BridgeClassName { get; }
Property Value
OnClose
public Action OnClose { get; set; }
Property Value
Remarks
If OnClose has a value it takes precedence over corresponding class method
OnConfigure
public Action<Map<String, object>> OnConfigure { get; set; }
Property Value
Remarks
If OnConfigure has a value it takes precedence over corresponding class method
OnContextChange
public Action<MetricsContext> OnContextChange { get; set; }
Property Value
Remarks
If OnContextChange has a value it takes precedence over corresponding class method
OnInit
public Action<List<KafkaMetric>> OnInit { get; set; }
Property Value
Remarks
If OnInit has a value it takes precedence over corresponding class method
OnMetricChange
public Action<KafkaMetric> OnMetricChange { get; set; }
Property Value
Remarks
If OnMetricChange has a value it takes precedence over corresponding class method
OnMetricRemoval
public Action<KafkaMetric> OnMetricRemoval { get; set; }
Property Value
Remarks
If OnMetricRemoval has a value it takes precedence over corresponding class method
OnReconfigurableConfigs
public Func<Set<String>> OnReconfigurableConfigs { get; set; }
Property Value
Remarks
If OnReconfigurableConfigs has a value it takes precedence over corresponding class method
OnReconfigure
public Action<Map<String, object>> OnReconfigure { get; set; }
Property Value
Remarks
If OnReconfigure has a value it takes precedence over corresponding class method
OnValidateReconfiguration
public Action<Map<String, object>> OnValidateReconfiguration { get; set; }
Property Value
Remarks
If OnValidateReconfiguration has a value it takes precedence over corresponding class method
Methods
Close()
public virtual void Close()
Configure(Map<String, object>)
public virtual void Configure(Map<String, object> arg0)
Parameters
ContextChange(MetricsContext)
public virtual void ContextChange(MetricsContext arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface using ContextChangeDefault(MetricsContext); override the method to implement a different behavior
ContextChangeDefault(MetricsContext)
public void ContextChangeDefault(MetricsContext arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface
Init(List<KafkaMetric>)
public virtual void Init(List<KafkaMetric> arg0)
Parameters
arg0
List<KafkaMetric>
InitializeHandlers()
Handlers initializer for MetricsReporter
protected virtual void InitializeHandlers()
MetricChange(KafkaMetric)
public virtual void MetricChange(KafkaMetric arg0)
Parameters
arg0
KafkaMetric
MetricRemoval(KafkaMetric)
public virtual void MetricRemoval(KafkaMetric arg0)
Parameters
arg0
KafkaMetric
ReconfigurableConfigs()
public virtual Set<String> ReconfigurableConfigs()
Returns
Remarks
The method invokes the default implementation in the JVM interface using ReconfigurableConfigsDefault(); override the method to implement a different behavior
ReconfigurableConfigsDefault()
public Set<String> ReconfigurableConfigsDefault()
Returns
Remarks
The method invokes the default implementation in the JVM interface
Reconfigure(Map<String, object>)
public virtual void Reconfigure(Map<String, object> arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface using ReconfigureDefault(Map<String, object>); override the method to implement a different behavior
ReconfigureDefault(Map<String, object>)
public void ReconfigureDefault(Map<String, object> arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface
ValidateReconfiguration(Map<String, object>)
public virtual void ValidateReconfiguration(Map<String, object> arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface using ValidateReconfigurationDefault(Map<String, object>); override the method to implement a different behavior
Exceptions
ValidateReconfigurationDefault(Map<String, object>)
public void ValidateReconfigurationDefault(Map<String, object> arg0)
Parameters
Remarks
The method invokes the default implementation in the JVM interface