Class AverageThrottleAction
Throttle and simulate bandwidth condition.
[ActionMetadata("Throttle and simulate bandwidth condition.")]
public class AverageThrottleAction : Action
- Inheritance
-
AverageThrottleAction
- Inherited Members
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
BandwidthBytesPerSeconds
public long BandwidthBytesPerSeconds { get; set; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
ThrottleChannel
public ThrottleChannel ThrottleChannel { get; set; }
Property Value
Methods
Init(StartupContext)
Called once by the engine to initialize this directive
public override void Init(StartupContext startupContext)
Parameters
startupContextStartupContext
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
contextExchangeContextexchangeExchangeconnectionConnectionscopeFilterScopebreakPointManagerBreakPointManager