DefaultBlockPoolMonitor
class
Namespace: Orleans.Providers.Streams.Common
Block pool monitor used as a default option in GeneratorStreamProvider and MemoryStreamProvider.
public class DefaultBlockPoolMonitor : IBlockPoolMonitorConstructors
DefaultBlockPoolMonitor(KeyValuePair<string, object>, OrleansInstruments)Initializes a new instance of theDefaultBlockPoolMonitorclass.DefaultBlockPoolMonitor(BlockPoolMonitorDimensions, OrleansInstruments)Initializes a new instance of theDefaultBlockPoolMonitorclass.
Methods
Report(long, long, long)Periodically report block pool statusTrackMemoryAllocated(long)Called when memory is newly allocated by the cache.TrackMemoryReleased(long)Called when memory is released by the cache.
Fields
_dimensionsThe dimensions attached to metrics reported by this monitor.
