Class SnapshotReader<T>
public class SnapshotReader<T> : Iterator<Batch<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISnapshotReader<T>, IAutoCloseable, IIterator<Batch<T>>
Type Parameters
T
- Inheritance
-
SnapshotReader<T>
- Implements
- Derived
Constructors
SnapshotReader(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SnapshotReader(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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 java.lang.AutoCloseable
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
Close()
public void Close()
LastContainedLogEpoch()
public int LastContainedLogEpoch()
Returns
LastContainedLogOffset()
public long LastContainedLogOffset()
Returns
LastContainedLogTimestamp()
public long LastContainedLogTimestamp()
Returns
Operators
implicit operator AutoCloseable(SnapshotReader<T>)
Converter from SnapshotReader<T> to AutoCloseable
public static implicit operator AutoCloseable(SnapshotReader<T> t)
Parameters
tSnapshotReader<T>
Returns
implicit operator SnapshotReader(SnapshotReader<T>)
Converter from SnapshotReader<T> to SnapshotReader
public static implicit operator SnapshotReader(SnapshotReader<T> t)
Parameters
tSnapshotReader<T>