Class ProcessorSupplier<KIn, VIn, KOut, VOut>
public class ProcessorSupplier<KIn, VIn, KOut, VOut> : ProcessorSupplier, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IProcessorSupplier<KIn, VIn, KOut, VOut>, IConnectedStoreProvider, ISupplier<Processor<KIn, VIn, KOut, VOut>>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
KIn
VIn
KOut
VOut
- Inheritance
-
ProcessorSupplier<KIn, VIn, KOut, VOut>
- Implements
-
IProcessorSupplier<KIn, VIn, KOut, VOut>
- Derived
- Inherited Members
Constructors
ProcessorSupplier()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ProcessorSupplier()
ProcessorSupplier(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
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProcessorSupplier(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
public override string BridgeClassName { get; }
Property Value
OnGet
public Func<Processor<KIn, VIn, KOut, VOut>> OnGet { get; set; }
Property Value
OnInit
public Action<ProcessorContext<KOut, VOut>> OnInit { get; set; }
Property Value
- Action<ProcessorContext<KOut, VOut>>
OnProcess
public Action<Record<KIn, VIn>> OnProcess { get; set; }
Property Value
OnStores
public Func<Set<StoreBuilder>> OnStores { get; set; }
Property Value
Remarks
If OnStores has a value it takes precedence over corresponding class method
Methods
Get()
public virtual Processor<KIn, VIn, KOut, VOut> Get()
Returns
InitializeHandlers()
Handlers initializer for ProcessorSupplier<KIn, VIn, KOut, VOut>
protected virtual void InitializeHandlers()
Stores()
public virtual Set<StoreBuilder> Stores()
Returns
Remarks
The method invokes the default implementation in the JVM interface using StoresDefault(); override the method to implement a different behavior
StoresDefault()
public Set<StoreBuilder> StoresDefault()
Returns
Remarks
The method invokes the default implementation in the JVM interface