Skip to content

CachedMessageBlock Constructors

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.

CachedMessageBlock(int)

View source
public CachedMessageBlock(int blockSize = 16384)
Block of cached messages.

Parameters

blockSizeint
The block size, expressed as a number of messages.