Table of Contents

Class RecordMetadata

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

RecordMetadata()

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

public RecordMetadata()

RecordMetadata(TopicPartition, long, int, long, int, int)

public RecordMetadata(TopicPartition arg0, long arg1, int arg2, long arg3, int arg4, int arg5)

Parameters

arg0 TopicPartition

TopicPartition

arg1 long

long

arg2 int

int

arg3 long

long

arg4 int

int

arg5 int

int

RecordMetadata(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 RecordMetadata(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DateTime

public DateTime DateTime { get; }

Property Value

DateTime

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

UNKNOWN_PARTITION

public static int UNKNOWN_PARTITION { get; }

Property Value

int

Methods

HasOffset()

public bool HasOffset()

Returns

bool

bool

HasTimestamp()

public bool HasTimestamp()

Returns

bool

bool

Offset()

public long Offset()

Returns

long

long

Partition()

public int Partition()

Returns

int

int

SerializedKeySize()

public int SerializedKeySize()

Returns

int

int

SerializedValueSize()

public int SerializedValueSize()

Returns

int

int

Timestamp()

public long Timestamp()

Returns

long

long

Topic()

public String Topic()

Returns

String

String