CachedMessage Struct

Definition

This is a tightly packed cached structure containing a queue message. It should only contain value types.

public struct CachedMessage
type CachedMessage = struct
Public Structure CachedMessage
Inheritance
CachedMessage

Fields

DequeueTimeUtc

Time event was read from the queuing system into this cache.

EnqueueTimeUtc

Time event was written to the queuing system.

EventIndex

Event index. Index in batch.

Segment

Segment containing the serialized event data.

SequenceNumber

Sequence number. Position of event in queue.

StreamGuid

Guid of streamId this event is part of

StreamId

Identity of the stream this message is a part of.

StreamNamespace

Interned Namespace string of streamId this event is part of

Extension Methods

Compare(CachedMessage, StreamSequenceToken)

Compares the specified cached message.

CompareStreamId(CachedMessage, StreamId)

Compares the stream identifier of a cached message.

CompareStreamId(CachedMessage, IStreamIdentity)

Applies to