Table of Contents

Class ReplicatedCounter

Namespace
Org.Apache.Kafka.Raft
Assembly
MASES.KNet.dll
public class ReplicatedCounter : JVMBridgeBase<ReplicatedCounter>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ReplicatedCounter>
ReplicatedCounter
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ReplicatedCounter>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ReplicatedCounter>.IsAssignableFrom<T>()
JVMBridgeBase<ReplicatedCounter>.Execute<T>(params T[])
JVMBridgeBase<ReplicatedCounter>.DynBridgeClazz
JVMBridgeBase<ReplicatedCounter>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

ReplicatedCounter()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ReplicatedCounter()

ReplicatedCounter(int, RaftClient<Integer>, LogContext)

public ReplicatedCounter(int arg0, RaftClient<Integer> arg1, LogContext arg2)

Parameters

arg0 int

int

arg1 RaftClient<Integer>

RaftClient

arg2 LogContext

LogContext

ReplicatedCounter(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 ReplicatedCounter(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

HandleCommit(BatchReader<Integer>)

public void HandleCommit(BatchReader<Integer> arg0)

Parameters

arg0 BatchReader<Integer>

BatchReader

HandleLeaderChange(LeaderAndEpoch)

public void HandleLeaderChange(LeaderAndEpoch arg0)

Parameters

arg0 LeaderAndEpoch

LeaderAndEpoch

HandleLoadSnapshot(SnapshotReader<Integer>)

public void HandleLoadSnapshot(SnapshotReader<Integer> arg0)

Parameters

arg0 SnapshotReader<Integer>

SnapshotReader

HandleLoadSnapshotCalls()

public int HandleLoadSnapshotCalls()

Returns

int

int

Increment()

public void Increment()

IsWritable()

public bool IsWritable()

Returns

bool

bool