Class PageCacheBackpressureCodec
Wire codec for PageCacheBackpressure. Payload: [i32 retryCount][i32 dirtyCount][i32 epochCount].
public static class PageCacheBackpressureCodec
- Inheritance
-
PageCacheBackpressureCodec
- Inherited Members
Methods
ComputeSize(bool)
Total on-wire record size in bytes for a backpressure event.
public static int ComputeSize(bool hasTraceContext)
Parameters
hasTraceContextboolWhether a 16-byte trace context is included in the span header.
Returns
Decode(ReadOnlySpan<byte>)
Decode a PageCacheBackpressure record into structured form.
public static PageCacheBackpressureEventData Decode(ReadOnlySpan<byte> source)
Parameters
sourceReadOnlySpan<byte>