Table of Contents

Class Processor<KIn, VIn, KOut, VOut>

Namespace
Org.Apache.Kafka.Streams.Processor.Api
Assembly
MASES.KNet.dll
public class Processor<KIn, VIn, KOut, VOut> : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IProcessor<KIn, VIn, KOut, VOut>, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

KIn
VIn
KOut
VOut
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
Processor<KIn, VIn, KOut, VOut>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IProcessor<KIn, VIn, KOut, VOut>
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.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.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract

Constructors

Processor()

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

public Processor()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnClose

public Action OnClose { get; set; }

Property Value

Action

Remarks

If OnClose has a value it takes precedence over corresponding class method

OnInit

public Action<ProcessorContext<KOut, VOut>> OnInit { get; set; }

Property Value

Action<ProcessorContext<KOut, VOut>>

Remarks

If OnInit has a value it takes precedence over corresponding class method

OnProcess

public Action<Record<KIn, VIn>> OnProcess { get; set; }

Property Value

Action<Record<KIn, VIn>>

Remarks

If OnProcess has a value it takes precedence over corresponding class method

Methods

Close()

public virtual void Close()

Remarks

The method invokes the default implementation in the JVM interface using CloseDefault(); override the method to implement a different behavior

CloseDefault()

public void CloseDefault()

Remarks

The method invokes the default implementation in the JVM interface

Init(ProcessorContext<KOut, VOut>)

public virtual void Init(ProcessorContext<KOut, VOut> arg0)

Parameters

arg0 ProcessorContext<KOut, VOut>

ProcessorContext

Remarks

The method invokes the default implementation in the JVM interface using InitDefault(ProcessorContext<KOut, VOut>); override the method to implement a different behavior

InitDefault(ProcessorContext<KOut, VOut>)

public void InitDefault(ProcessorContext<KOut, VOut> arg0)

Parameters

arg0 ProcessorContext<KOut, VOut>

ProcessorContext

Remarks

The method invokes the default implementation in the JVM interface

InitializeHandlers()

Handlers initializer for Processor

protected virtual void InitializeHandlers()

Process(Record<KIn, VIn>)

public virtual void Process(Record<KIn, VIn> arg0)

Parameters

arg0 Record<KIn, VIn>

Record