Class FixedKeyProcessor<KIn, VIn, VOut>
public class FixedKeyProcessor<KIn, VIn, VOut> : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IFixedKeyProcessor<KIn, VIn, VOut>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
KIn
VIn
VOut
- Inheritance
-
FixedKeyProcessor<KIn, VIn, VOut>
- Implements
-
IFixedKeyProcessor<KIn, VIn, VOut>
- Derived
- Inherited Members
Constructors
FixedKeyProcessor()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public FixedKeyProcessor()
FixedKeyProcessor(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 FixedKeyProcessor(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
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
OnInit
public Action<FixedKeyProcessorContext<KIn, VOut>> OnInit { get; set; }
Property Value
- Action<FixedKeyProcessorContext<KIn, VOut>>
Remarks
If OnInit has a value it takes precedence over corresponding class method
OnProcess
public Action<FixedKeyRecord<KIn, VIn>> OnProcess { get; set; }
Property Value
- Action<FixedKeyRecord<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(FixedKeyProcessorContext<KIn, VOut>)
public virtual void Init(FixedKeyProcessorContext<KIn, VOut> arg0)
Parameters
arg0
FixedKeyProcessorContext<KIn, VOut>
Remarks
The method invokes the default implementation in the JVM interface using InitDefault(FixedKeyProcessorContext<KIn, VOut>); override the method to implement a different behavior
InitDefault(FixedKeyProcessorContext<KIn, VOut>)
public void InitDefault(FixedKeyProcessorContext<KIn, VOut> arg0)
Parameters
arg0
FixedKeyProcessorContext<KIn, VOut>
Remarks
The method invokes the default implementation in the JVM interface
InitializeHandlers()
Handlers initializer for FixedKeyProcessor
protected virtual void InitializeHandlers()
Process(FixedKeyRecord<KIn, VIn>)
public virtual void Process(FixedKeyRecord<KIn, VIn> arg0)
Parameters
arg0
FixedKeyRecord<KIn, VIn>