Table of Contents

Class ProducerRecord

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

ProducerRecord()

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

public ProducerRecord()

ProducerRecord(String, Integer, Long, object, object)

public ProducerRecord(String arg0, Integer arg1, Long arg2, object arg3, object arg4)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 Long

Long

arg3 object

object

arg4 object

object

ProducerRecord(String, Integer, Long, object, object, Iterable)

public ProducerRecord(String arg0, Integer arg1, Long arg2, object arg3, object arg4, Iterable arg5)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 Long

Long

arg3 object

object

arg4 object

object

arg5 Iterable

Iterable

ProducerRecord(String, Integer, object, object)

public ProducerRecord(String arg0, Integer arg1, object arg2, object arg3)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 object

object

arg3 object

object

ProducerRecord(String, Integer, object, object, Iterable)

public ProducerRecord(String arg0, Integer arg1, object arg2, object arg3, Iterable arg4)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 object

object

arg3 object

object

arg4 Iterable

Iterable

ProducerRecord(String, object)

public ProducerRecord(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

ProducerRecord(String, object, object)

public ProducerRecord(String arg0, object arg1, object arg2)

Parameters

arg0 String

String

arg1 object

object

arg2 object

object

ProducerRecord(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 ProducerRecord(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

Headers()

public Headers Headers()

Returns

Headers

Headers

Key()

public object Key()

Returns

object

object

Partition()

public Integer Partition()

Returns

Integer

Integer

Timestamp()

public Long Timestamp()

Returns

Long

Long

Topic()

public String Topic()

Returns

String

String

Value()

public object Value()

Returns

object

object