Class ReplicatedLog
public class ReplicatedLog : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IReplicatedLog, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>ReplicatedLog
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.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
ReplicatedLog()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("ReplicatedLog class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ReplicatedLog()
ReplicatedLog(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
[Obsolete("ReplicatedLog class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ReplicatedLog(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { 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
Close()
public void Close()
CreateNewSnapshot(OffsetAndEpoch)
public Optional<RawSnapshotWriter> CreateNewSnapshot(OffsetAndEpoch arg0)
Parameters
Returns
CreateNewSnapshotUnchecked(OffsetAndEpoch)
public Optional<RawSnapshotWriter> CreateNewSnapshotUnchecked(OffsetAndEpoch arg0)
Parameters
Returns
DeleteBeforeSnapshot(OffsetAndEpoch)
public bool DeleteBeforeSnapshot(OffsetAndEpoch arg0)
Parameters
Returns
EarliestSnapshotId()
public Optional<OffsetAndEpoch> EarliestSnapshotId()
Returns
EndOffset()
public LogOffsetMetadata EndOffset()
Returns
EndOffsetForEpoch(int)
public OffsetAndEpoch EndOffsetForEpoch(int arg0)
Parameters
Returns
Flush(bool)
public void Flush(bool arg0)
Parameters
HighWatermark()
public LogOffsetMetadata HighWatermark()
Returns
InitializeLeaderEpoch(int)
public void InitializeLeaderEpoch(int arg0)
Parameters
LastFetchedEpoch()
public int LastFetchedEpoch()
Returns
LatestSnapshot()
public Optional<RawSnapshotReader> LatestSnapshot()
Returns
LatestSnapshotId()
public Optional<OffsetAndEpoch> LatestSnapshotId()
Returns
MaybeClean()
public bool MaybeClean()
Returns
OnSnapshotFrozen(OffsetAndEpoch)
public void OnSnapshotFrozen(OffsetAndEpoch arg0)
Parameters
Read(long, Isolation)
public LogFetchInfo Read(long arg0, Isolation arg1)
Parameters
Returns
ReadSnapshot(OffsetAndEpoch)
public Optional<RawSnapshotReader> ReadSnapshot(OffsetAndEpoch arg0)
Parameters
Returns
StartOffset()
public long StartOffset()
Returns
TopicId()
public Uuid TopicId()
Returns
TopicPartition()
public TopicPartition TopicPartition()
Returns
TruncateTo(long)
public void TruncateTo(long arg0)
Parameters
TruncateToEndOffset(OffsetAndEpoch)
public long TruncateToEndOffset(OffsetAndEpoch arg0)
Parameters
Returns
TruncateToLatestSnapshot()
public bool TruncateToLatestSnapshot()
Returns
UpdateHighWatermark(LogOffsetMetadata)
public void UpdateHighWatermark(LogOffsetMetadata arg0)
Parameters
ValidateOffsetAndEpoch(long, int)
public ValidOffsetAndEpoch ValidateOffsetAndEpoch(long arg0, int arg1)