1 write to MaximumPayloadBytes
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
92
MaximumPayloadBytes
= checked((int)_options.MaximumPayloadBytes); // for now hard-limit to 2GiB
4 references to MaximumPayloadBytes
Microsoft.Extensions.Caching.Hybrid (4)
Internal\DefaultHybridCache.L2.cs (3)
37
RecyclableArrayBufferWriter<byte> writer = RecyclableArrayBufferWriter<byte>.Create(
MaximumPayloadBytes
);
125
if (payload.Length >
MaximumPayloadBytes
)
141
throw new InvalidOperationException($"Maximum cache length ({
MaximumPayloadBytes
} bytes) exceeded");
Internal\DefaultHybridCache.StampedeState.cs (1)
77
protected int MaximumPayloadBytes => _cache.
MaximumPayloadBytes
;