Class ProducerState
public class ProducerState : JVMBridgeBase<ProducerState>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
ProducerState
- Implements
Constructors
ProducerState(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProducerState(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
ProducerState(long, int, int, long, OptionalInt, OptionalLong)
public ProducerState(long arg0, int arg1, int arg2, long arg3, OptionalInt arg4, OptionalLong arg5)
Parameters
arg0longarg1intarg2intarg3longarg4OptionalIntarg5OptionalLong
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LastDateTime
public DateTime LastDateTime { get; }
Property Value
Methods
CoordinatorEpoch()
public OptionalInt CoordinatorEpoch()
Returns
CreatePoolableInstance(long, int, int, long, OptionalInt, OptionalLong)
HPA initializer for ProducerState(long arg0, int arg1, int arg2, long arg3, Java.Util.OptionalInt arg4, Java.Util.OptionalLong arg5)
public static ProducerState CreatePoolableInstance(long arg0, int arg1, int arg2, long arg3, OptionalInt arg4, OptionalLong arg5)
Parameters
arg0longarg1intarg2intarg3longarg4OptionalIntarg5OptionalLong
Returns
CurrentTransactionStartOffset()
public OptionalLong CurrentTransactionStartOffset()
Returns
LastSequence()
public int LastSequence()
Returns
LastTimestamp()
public long LastTimestamp()
Returns
ProducerEpoch()
public int ProducerEpoch()
Returns
ProducerId()
public long ProducerId()