C# 클래스 RampUp.Ring.RingBufferDescriptor

파일 보기 프로젝트 열기: Scooletz/RampUp

공개 프로퍼티들

프로퍼티 타입 설명
ConsumerHeartbeatOffset int
CorrelationCounterOffset int
HeadCachePositionOffset int
HeadPositionOffset int
LengthOffset int
TailPositionOffset int
TrailerLength int
TypeOffset int

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
RingBufferDescriptor ( ) : System

메소드 상세

EncodedMsgOffset() 공개 정적인 메소드

public static EncodedMsgOffset ( int recordOffset ) : int
recordOffset int
리턴 int

EnsureCapacity() 공개 정적인 메소드

Checks the buffer capacity
public static EnsureCapacity ( IUnsafeBuffer buffer ) : void
buffer IUnsafeBuffer
리턴 void

MakeHeader() 공개 정적인 메소드

public static MakeHeader ( int length, int messageTypeId ) : long
length int
messageTypeId int
리턴 long

MessageTypeId() 공개 정적인 메소드

public static MessageTypeId ( long header ) : int
header long
리턴 int

RecordLength() 공개 정적인 메소드

public static RecordLength ( long header ) : int
header long
리턴 int

ValidateMessageTypeId() 공개 정적인 메소드

public static ValidateMessageTypeId ( int messageTypeId ) : void
messageTypeId int
리턴 void

프로퍼티 상세

ConsumerHeartbeatOffset 공개적으로 정적으로 프로퍼티

Offset within the trailer for where the consumer heartbeat time value is stored.
public static int ConsumerHeartbeatOffset
리턴 int

CorrelationCounterOffset 공개적으로 정적으로 프로퍼티

Offset within the trailer for where the correlation counter value is stored.
public static int CorrelationCounterOffset
리턴 int

HeadCachePositionOffset 공개적으로 정적으로 프로퍼티

Offset within the trailer for where the head cache value is stored.
public static int HeadCachePositionOffset
리턴 int

HeadPositionOffset 공개적으로 정적으로 프로퍼티

Offset within the trailer for where the head value is stored.
public static int HeadPositionOffset
리턴 int

LengthOffset 공개적으로 정적으로 프로퍼티

Offset within the record at which the record length field begins.
public static int LengthOffset
리턴 int

TailPositionOffset 공개적으로 정적으로 프로퍼티

Offset within the trailer for where the tail value is stored.
public static int TailPositionOffset
리턴 int

TrailerLength 공개적으로 정적으로 프로퍼티

Total length of the trailer in bytes.
public static int TrailerLength
리턴 int

TypeOffset 공개적으로 정적으로 프로퍼티

Offset within the record at which the message type field begins.
public static int TypeOffset
리턴 int