Edit

Share via


DefaultBlockPoolMonitor Class

Definition

Block pool monitor used as a default option in GeneratorStreamProvider and MemoryStreamProvider.

public class DefaultBlockPoolMonitor : Orleans.Providers.Streams.Common.IBlockPoolMonitor
type DefaultBlockPoolMonitor = class
    interface IBlockPoolMonitor
Public Class DefaultBlockPoolMonitor
Implements IBlockPoolMonitor
Inheritance
DefaultBlockPoolMonitor
Derived
Implements

Constructors

DefaultBlockPoolMonitor(BlockPoolMonitorDimensions, ITelemetryProducer)
DefaultBlockPoolMonitor(BlockPoolMonitorDimensions, Logger)
DefaultBlockPoolMonitor(BlockPoolMonitorDimensions)

Initializes a new instance of the DefaultBlockPoolMonitor class.

DefaultBlockPoolMonitor(ITelemetryProducer)
DefaultBlockPoolMonitor(KeyValuePair<String,Object>[])

Initializes a new instance of the DefaultBlockPoolMonitor class.

DefaultBlockPoolMonitor(Logger)

Fields

_dimensions
Logger
LogProperties
TelemetryProducer

Methods

Report(Int64, Int64, Int64)

Periodically report block pool status

TrackMemoryAllocated(Int64)

Called when memory is newly allocated by the cache.

TrackMemoryReleased(Int64)

Called when memory is released by the cache.

Applies to