C# Class RampUp.Ring.RingBufferDescriptor

Afficher le fichier Open project: Scooletz/RampUp

Méthodes publiques

Свойство Type Description
ConsumerHeartbeatOffset int
CorrelationCounterOffset int
HeadCachePositionOffset int
HeadPositionOffset int
LengthOffset int
TailPositionOffset int
TrailerLength int
TypeOffset int

Méthodes publiques

Méthode Description
EncodedMsgOffset ( int recordOffset ) : int
EnsureCapacity ( IUnsafeBuffer buffer ) : void

Checks the buffer capacity

MakeHeader ( int length, int messageTypeId ) : long
MessageTypeId ( long header ) : int
RecordLength ( long header ) : int
ValidateMessageTypeId ( int messageTypeId ) : void

Private Methods

Méthode Description
RingBufferDescriptor ( ) : System

Method Details

EncodedMsgOffset() public static méthode

public static EncodedMsgOffset ( int recordOffset ) : int
recordOffset int
Résultat int

EnsureCapacity() public static méthode

Checks the buffer capacity
public static EnsureCapacity ( IUnsafeBuffer buffer ) : void
buffer IUnsafeBuffer
Résultat void

MakeHeader() public static méthode

public static MakeHeader ( int length, int messageTypeId ) : long
length int
messageTypeId int
Résultat long

MessageTypeId() public static méthode

public static MessageTypeId ( long header ) : int
header long
Résultat int

RecordLength() public static méthode

public static RecordLength ( long header ) : int
header long
Résultat int

ValidateMessageTypeId() public static méthode

public static ValidateMessageTypeId ( int messageTypeId ) : void
messageTypeId int
Résultat void

Property Details

ConsumerHeartbeatOffset public_oe static_oe property

Offset within the trailer for where the consumer heartbeat time value is stored.
public static int ConsumerHeartbeatOffset
Résultat int

CorrelationCounterOffset public_oe static_oe property

Offset within the trailer for where the correlation counter value is stored.
public static int CorrelationCounterOffset
Résultat int

HeadCachePositionOffset public_oe static_oe property

Offset within the trailer for where the head cache value is stored.
public static int HeadCachePositionOffset
Résultat int

HeadPositionOffset public_oe static_oe property

Offset within the trailer for where the head value is stored.
public static int HeadPositionOffset
Résultat int

LengthOffset public_oe static_oe property

Offset within the record at which the record length field begins.
public static int LengthOffset
Résultat int

TailPositionOffset public_oe static_oe property

Offset within the trailer for where the tail value is stored.
public static int TailPositionOffset
Résultat int

TrailerLength public_oe static_oe property

Total length of the trailer in bytes.
public static int TrailerLength
Résultat int

TypeOffset public_oe static_oe property

Offset within the record at which the message type field begins.
public static int TypeOffset
Résultat int