Table of Contents

Class Batch<T>

Namespace
Org.Apache.Kafka.Raft
Assembly
MASES.KNet.dll
public class Batch<T> : Iterable<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>, IIterable<T>

Type Parameters

T
Inheritance
JVMBridgeBase
JVMBridgeBase<Iterable<T>>
JVMBridgeBaseEnumerable<Iterable<T>>
JVMBridgeBaseEnumerable<Iterable<T>, T>
Batch<T>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Inherited Members
JVMBridgeBaseEnumerable<Iterable<T>, T>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<T>>.GetEnumerator()
JVMBridgeBase<Iterable<T>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<T>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<T>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<T>>.DynBridgeClazz
JVMBridgeBase<Iterable<T>>.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

Batch()

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

public Batch()

Batch(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 Batch(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

AppendTimestamp()

public long AppendTimestamp()

Returns

long

long

BaseOffset()

public long BaseOffset()

Returns

long

long

Control(long, int, long, int, List<ControlRecord>)

public static Batch<T> Control(long arg0, int arg1, long arg2, int arg3, List<ControlRecord> arg4)

Parameters

arg0 long

long

arg1 int

int

arg2 long

long

arg3 int

int

arg4 List<ControlRecord>

List

Returns

Batch<T>

Batch

ControlRecords()

public List<ControlRecord> ControlRecords()

Returns

List<ControlRecord>

List

Data(long, int, long, int, List<T>)

public static Batch<T> Data(long arg0, int arg1, long arg2, int arg3, List<T> arg4)

Parameters

arg0 long

long

arg1 int

int

arg2 long

long

arg3 int

int

arg4 List<T>

List

Returns

Batch<T>

Batch

Epoch()

public int Epoch()

Returns

int

int

Iterator()

public Iterator<T> Iterator()

Returns

Iterator<T>

Iterator

LastOffset()

public long LastOffset()

Returns

long

long

Records()

public List<T> Records()

Returns

List<T>

List

SizeInBytes()

public int SizeInBytes()

Returns

int

int

Operators

implicit operator Batch(Batch<T>)

Converter from Batch<T> to Batch

public static implicit operator Batch(Batch<T> t)

Parameters

t Batch<T>

Returns

Batch