Table of Contents

Class ProducerState

Namespace
Org.Apache.Kafka.Clients.Admin
Assembly
MASES.KNet.dll
public class ProducerState : JVMBridgeBase<ProducerState>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
ProducerState
Implements
Inherited Members

Constructors

ProducerState()

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

public ProducerState()

ProducerState(long, int, int, long, OptionalInt, OptionalLong)

public ProducerState(long arg0, int arg1, int arg2, long arg3, OptionalInt arg4, OptionalLong arg5)

Parameters

arg0 long

long

arg1 int

int

arg2 int

int

arg3 long

long

arg4 OptionalInt

OptionalInt

arg5 OptionalLong

OptionalLong

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

LastDateTime

public DateTime LastDateTime { get; }

Property Value

DateTime

Methods

CoordinatorEpoch()

public OptionalInt CoordinatorEpoch()

Returns

OptionalInt

OptionalInt

CurrentTransactionStartOffset()

public OptionalLong CurrentTransactionStartOffset()

Returns

OptionalLong

OptionalLong

LastSequence()

public int LastSequence()

Returns

int

int

LastTimestamp()

public long LastTimestamp()

Returns

long

long

ProducerEpoch()

public int ProducerEpoch()

Returns

int

int

ProducerId()

public long ProducerId()

Returns

long

long