Class Heartbeat
public class Heartbeat : JVMBridgeBase<Heartbeat>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Heartbeat
- Implements
- Inherited Members
Constructors
Heartbeat()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Heartbeat()
Heartbeat(String, String, long)
public Heartbeat(String arg0, String arg1, long arg2)
Parameters
Heartbeat(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 Heartbeat(params object[] args)
Parameters
args
object[]
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 Closeable
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
SOURCE_CLUSTER_ALIAS_KEY
public static String SOURCE_CLUSTER_ALIAS_KEY { get; }
Property Value
TARGET_CLUSTER_ALIAS_KEY
public static String TARGET_CLUSTER_ALIAS_KEY { get; }
Property Value
TIMESTAMP_KEY
public static String TIMESTAMP_KEY { get; }
Property Value
VERSION
public static short VERSION { get; }
Property Value
VERSION_KEY
public static String VERSION_KEY { get; }
Property Value
Methods
DeserializeRecord(ConsumerRecord<byte[], byte[]>)
public static Heartbeat DeserializeRecord(ConsumerRecord<byte[], byte[]> arg0)
Parameters
arg0
ConsumerRecord<byte[], byte[]>
Returns
SourceClusterAlias()
public String SourceClusterAlias()
Returns
TargetClusterAlias()
public String TargetClusterAlias()
Returns
Timestamp()
public long Timestamp()