Class DefaultErrorHandlerContext
public class DefaultErrorHandlerContext : ErrorHandlerContext, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IErrorHandlerContext
- Inheritance
-
DefaultErrorHandlerContext
- Implements
- Inherited Members
-
JVMBridgeBase<ErrorHandlerContext>.SExecuteWithSignature(IJavaType, string, string, params object[])JVMBridgeBase<ErrorHandlerContext>.SExecute<TNewClass, TReturn, TConverter>(string, params object[])
Constructors
DefaultErrorHandlerContext()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public DefaultErrorHandlerContext()
DefaultErrorHandlerContext(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DefaultErrorHandlerContext(IJVMBridgeBaseInitializer initializer)
Parameters
initializer
IJVMBridgeBaseInitializer
DefaultErrorHandlerContext(ProcessorContext, String, int, long, Headers, String, TaskId, long, byte[], byte[])
public DefaultErrorHandlerContext(ProcessorContext arg0, String arg1, int arg2, long arg3, Headers arg4, String arg5, TaskId arg6, long arg7, byte[] arg8, byte[] arg9)
Parameters
arg0
ProcessorContextarg1
Stringarg2
intarg3
longarg4
Headersarg5
Stringarg6
TaskIdarg7
longarg8
byte[]arg9
byte[]
DefaultErrorHandlerContext(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 DefaultErrorHandlerContext(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
Methods
Headers()
public Headers Headers()
Returns
Offset()
public long Offset()
Returns
Partition()
public int Partition()
Returns
ProcessorContext()
public Optional<ProcessorContext> ProcessorContext()
Returns
ProcessorNodeId()
public String ProcessorNodeId()
Returns
SourceRawKey()
public byte[] SourceRawKey()
Returns
SourceRawValue()
public byte[] SourceRawValue()
Returns
TaskId()
public TaskId TaskId()
Returns
Timestamp()
public long Timestamp()
Returns
Topic()
public String Topic()