Class ProducerRecord<K, V>
public class ProducerRecord<K, V> : JVMBridgeBase<ProducerRecord<K, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
K
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ProducerRecord<K, V>>ProducerRecord<K, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ProducerRecord<K, V>>.SExecute<TNewClass, TReturn>(IJavaType, string, params object[])JVMBridgeBase<ProducerRecord<K, V>>.IsAssignableFrom(IJavaType)JVMBridgeBase<ProducerRecord<K, V>>.IsAssignableFrom<T>()JVMBridgeBase<ProducerRecord<K, V>>.Execute<T>(params T[])JVMBridgeBase<ProducerRecord<K, V>>.DynBridgeClazzJVMBridgeBase<ProducerRecord<K, V>>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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, K, V)
public ProducerRecord(String arg0, Integer arg1, Long arg2, K arg3, V arg4)
Parameters
ProducerRecord(String, Integer, Long, K, V, Iterable<Header>)
public ProducerRecord(String arg0, Integer arg1, Long arg2, K arg3, V arg4, Iterable<Header> arg5)
Parameters
ProducerRecord(String, Integer, K, V)
public ProducerRecord(String arg0, Integer arg1, K arg2, V arg3)
Parameters
ProducerRecord(String, Integer, K, V, Iterable<Header>)
public ProducerRecord(String arg0, Integer arg1, K arg2, V arg3, Iterable<Header> arg4)
Parameters
ProducerRecord(String, K, V)
public ProducerRecord(String arg0, K arg1, V arg2)
Parameters
ProducerRecord(String, V)
public ProducerRecord(String arg0, V arg1)
Parameters
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[]
ProducerRecord(string, int, DateTime, K, V)
public ProducerRecord(string topic, int partition, DateTime timestamp, K key, V value)
Parameters
ProducerRecord(string, int, DateTime, K, V, Headers)
public ProducerRecord(string topic, int partition, DateTime timestamp, K key, V value, Headers headers)
Parameters
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DateTime
public DateTime DateTime { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Headers()
public Headers Headers()
Returns
Key()
public K Key()
Returns
- K
K
Partition()
public Integer Partition()
Returns
Timestamp()
public Long Timestamp()
Returns
Topic()
public String Topic()
Returns
Value()
public V Value()
Returns
- V
V
Operators
implicit operator ProducerRecord(ProducerRecord<K, V>)
Converter from ProducerRecord<K, V> to ProducerRecord
public static implicit operator ProducerRecord(ProducerRecord<K, V> t)
Parameters
t
ProducerRecord<K, V>