Class MemoryRecordsBuilder
public class MemoryRecordsBuilder : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>MemoryRecordsBuilder
- 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
MemoryRecordsBuilder()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MemoryRecordsBuilder()
MemoryRecordsBuilder(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 MemoryRecordsBuilder(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
Abort()
public void Abort()
Append(LegacyRecord)
public void Append(LegacyRecord arg0)
Parameters
arg0
LegacyRecord
Append(Record)
public void Append(Record arg0)
Parameters
Append(SimpleRecord)
public void Append(SimpleRecord arg0)
Parameters
arg0
SimpleRecord
Append(long, ByteBuffer, ByteBuffer)
public void Append(long arg0, ByteBuffer arg1, ByteBuffer arg2)
Parameters
arg0
longarg1
ByteBufferarg2
ByteBuffer
Append(long, ByteBuffer, ByteBuffer, Header[])
public void Append(long arg0, ByteBuffer arg1, ByteBuffer arg2, Header[] arg3)
Parameters
arg0
longarg1
ByteBufferarg2
ByteBufferarg3
Header[]
Append(long, byte[], byte[])
public void Append(long arg0, byte[] arg1, byte[] arg2)
Parameters
Append(long, byte[], byte[], Header[])
public void Append(long arg0, byte[] arg1, byte[] arg2, Header[] arg3)
Parameters
AppendControlRecord(long, ControlRecordType, ByteBuffer)
public void AppendControlRecord(long arg0, ControlRecordType arg1, ByteBuffer arg2)
Parameters
arg0
longarg1
ControlRecordTypearg2
ByteBuffer
AppendControlRecordWithOffset(long, SimpleRecord)
public void AppendControlRecordWithOffset(long arg0, SimpleRecord arg1)
Parameters
arg0
longarg1
SimpleRecord
AppendUncheckedWithOffset(long, LegacyRecord)
public void AppendUncheckedWithOffset(long arg0, LegacyRecord arg1)
Parameters
arg0
longarg1
LegacyRecord
AppendUncheckedWithOffset(long, SimpleRecord)
public void AppendUncheckedWithOffset(long arg0, SimpleRecord arg1)
Parameters
arg0
longarg1
SimpleRecord
Exceptions
AppendWithOffset(long, LegacyRecord)
public void AppendWithOffset(long arg0, LegacyRecord arg1)
Parameters
arg0
longarg1
LegacyRecord
AppendWithOffset(long, Record)
public void AppendWithOffset(long arg0, Record arg1)
Parameters
AppendWithOffset(long, SimpleRecord)
public void AppendWithOffset(long arg0, SimpleRecord arg1)
Parameters
arg0
longarg1
SimpleRecord
AppendWithOffset(long, long, ByteBuffer, ByteBuffer)
public void AppendWithOffset(long arg0, long arg1, ByteBuffer arg2, ByteBuffer arg3)
Parameters
arg0
longarg1
longarg2
ByteBufferarg3
ByteBuffer
AppendWithOffset(long, long, ByteBuffer, ByteBuffer, Header[])
public void AppendWithOffset(long arg0, long arg1, ByteBuffer arg2, ByteBuffer arg3, Header[] arg4)
Parameters
arg0
longarg1
longarg2
ByteBufferarg3
ByteBufferarg4
Header[]
AppendWithOffset(long, long, byte[], byte[])
public void AppendWithOffset(long arg0, long arg1, byte[] arg2, byte[] arg3)
Parameters
AppendWithOffset(long, long, byte[], byte[], Header[])
public void AppendWithOffset(long arg0, long arg1, byte[] arg2, byte[] arg3, Header[] arg4)
Parameters
BaseSequence()
public int BaseSequence()
Returns
Buffer()
public ByteBuffer Buffer()
Returns
Close()
public void Close()
CloseForRecordAppends()
public void CloseForRecordAppends()
CompressionRatio()
public double CompressionRatio()
Returns
EstimatedSizeInBytes()
public int EstimatedSizeInBytes()
Returns
HasDeleteHorizonMs()
public bool HasDeleteHorizonMs()
Returns
HasRoomFor(int)
public bool HasRoomFor(int arg0)
Parameters
Returns
HasRoomFor(long, ByteBuffer, ByteBuffer, Header[])
public bool HasRoomFor(long arg0, ByteBuffer arg1, ByteBuffer arg2, Header[] arg3)
Parameters
arg0
longarg1
ByteBufferarg2
ByteBufferarg3
Header[]
Returns
HasRoomFor(long, byte[], byte[], Header[])
public bool HasRoomFor(long arg0, byte[] arg1, byte[] arg2, Header[] arg3)
Parameters
Returns
Info()
public MemoryRecordsBuilder.RecordsInfo Info()
Returns
InitialCapacity()
public int InitialCapacity()
Returns
IsClosed()
public bool IsClosed()
Returns
IsControlBatch()
public bool IsControlBatch()
Returns
IsFull()
public bool IsFull()
Returns
IsTransactional()
public bool IsTransactional()
Returns
Magic()
public byte Magic()
Returns
MaxAllowedBytes()
public int MaxAllowedBytes()
Returns
NumRecords()
public int NumRecords()
Returns
OverrideLastOffset(long)
public void OverrideLastOffset(long arg0)
Parameters
ProducerEpoch()
public short ProducerEpoch()
Returns
ProducerId()
public long ProducerId()
Returns
ReopenAndRewriteProducerState(long, short, int, bool)
public void ReopenAndRewriteProducerState(long arg0, short arg1, int arg2, bool arg3)
Parameters
SetEstimatedCompressionRatio(float)
public void SetEstimatedCompressionRatio(float arg0)
Parameters
SetProducerState(long, short, int, bool)
public void SetProducerState(long arg0, short arg1, int arg2, bool arg3)
Parameters
UncompressedBytesWritten()
public int UncompressedBytesWritten()