Table of Contents

Class ProcessorContext

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

ProcessorContext()

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

[Obsolete("ProcessorContext class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProcessorContext()

ProcessorContext(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("ProcessorContext class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProcessorContext(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

AppConfigs()

public Map<String, object> AppConfigs()

Returns

Map<String, object>

Map

AppConfigsWithPrefix(String)

public Map<String, object> AppConfigsWithPrefix(String arg0)

Parameters

arg0 String

String

Returns

Map<String, object>

Map

ApplicationId()

public String ApplicationId()

Returns

String

String

Commit()

public void Commit()

CurrentStreamTimeMs()

public long CurrentStreamTimeMs()

Returns

long

long

CurrentSystemTimeMs()

public long CurrentSystemTimeMs()

Returns

long

long

Forward<K, V>(K, V)

public void Forward<K, V>(K arg0, V arg1)

Parameters

arg0 K

K

arg1 V

V

Type Parameters

K
V

Forward<K, V>(K, V, To)

public void Forward<K, V>(K arg0, V arg1, To arg2)

Parameters

arg0 K

K

arg1 V

V

arg2 To

To

Type Parameters

K
V

GetStateStore<S>(String)

public S GetStateStore<S>(String arg0) where S : IStateStore, new()

Parameters

arg0 String

String

Returns

S

S

Type Parameters

S

IStateStore

Headers()

public Headers Headers()

Returns

Headers

Headers

KeySerde()

public Serde<object> KeySerde()

Returns

Serde<object>

Serde

KeySerdeDirect()

public Serde<object> KeySerdeDirect()

Returns

Serde<object>

Serde

Metrics()

public StreamsMetrics Metrics()

Returns

StreamsMetrics

StreamsMetrics

Offset()

public long Offset()

Returns

long

long

Partition()

public int Partition()

Returns

int

int

Register(StateStore, StateRestoreCallback)

public void Register(StateStore arg0, StateRestoreCallback arg1)

Parameters

arg0 StateStore

StateStore

arg1 StateRestoreCallback

StateRestoreCallback

Schedule(Duration, PunctuationType, Punctuator)

public Cancellable Schedule(Duration arg0, PunctuationType arg1, Punctuator arg2)

Parameters

arg0 Duration

Duration

arg1 PunctuationType

PunctuationType

arg2 Punctuator

Punctuator

Returns

Cancellable

Cancellable

StateDir()

public File StateDir()

Returns

File

File

TaskId()

public TaskId TaskId()

Returns

TaskId

TaskId

Timestamp()

public long Timestamp()

Returns

long

long

Topic()

public String Topic()

Returns

String

String

ValueSerde()

public Serde<object> ValueSerde()

Returns

Serde<object>

Serde

ValueSerdeDirect()

public Serde<object> ValueSerdeDirect()

Returns

Serde<object>

Serde