Skip to content

CachedMessageBlock Properties

CachedMessageBlock is a block of tightly packed structures containing tracking data for cached messages. This data is tightly packed to reduced GC pressure. The tracking data is used by the queue cache to walk the cache serving ordered queue messages by stream.

HasCapacity

get
View source
public bool HasCapacity
Gets a value indicating whether more messages can be added to the block.

IsEmpty

get
View source
public bool IsEmpty
Gets a value indicating whether this block is empty.

Node

get
View source
public LinkedListNode<CachedMessageBlock> Node
Linked list node, so this message block can be kept in a linked list.