Class ConsumerInterceptor
public class ConsumerInterceptor : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerConsumerInterceptor
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.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.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstract
Constructors
ConsumerInterceptor()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ConsumerInterceptor()
Properties
BridgeClassName
public override string BridgeClassName { get; }
Property Value
OnClose
public Action OnClose { get; set; }
Property Value
Remarks
If OnClose has a value it takes precedence over corresponding class method
OnConfigure
public Action<Map> OnConfigure { get; set; }
Property Value
Remarks
If OnConfigure has a value it takes precedence over corresponding class method
OnOnCommit
public Action<Map> OnOnCommit { get; set; }
Property Value
Remarks
If OnOnCommit has a value it takes precedence over corresponding class method
OnOnConsume
public Func<ConsumerRecords, ConsumerRecords> OnOnConsume { get; set; }
Property Value
Remarks
If OnOnConsume has a value it takes precedence over corresponding class method
Methods
Close()
public virtual void Close()
Configure(Map)
public virtual void Configure(Map arg0)
Parameters
InitializeHandlers()
Handlers initializer for ConsumerInterceptor
protected virtual void InitializeHandlers()
OnCommit(Map)
public virtual void OnCommit(Map arg0)
Parameters
OnConsume(ConsumerRecords)
public virtual ConsumerRecords OnConsume(ConsumerRecords arg0)