C# Class RampUp.Ring.ManyToOneRingBuffer

Inheritance: IRingBuffer, IDisposable
Mostrar archivo Open project: Scooletz/RampUp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ManyToOneRingBuffer ( IUnsafeBuffer buffer ) : System
Read ( MessageHandler handler, int messageProcessingLimit ) : int
Write ( int messageTypeId, ByteChunk chunk ) : bool

Private Methods

Method Description
ClaimCapacity ( int requiredCapacity ) : int
ValidateLength ( ByteChunk chunk ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ManyToOneRingBuffer() public method

public ManyToOneRingBuffer ( IUnsafeBuffer buffer ) : System
buffer IUnsafeBuffer
return System

Read() public method

public Read ( MessageHandler handler, int messageProcessingLimit ) : int
handler MessageHandler
messageProcessingLimit int
return int

Write() public method

public Write ( int messageTypeId, ByteChunk chunk ) : bool
messageTypeId int
chunk RampUp.Buffers.ByteChunk
return bool