Table of Contents

Class AverageThrottleAction

Namespace
Fluxzy.Rules.Actions
Assembly
Fluxzy.Core.dll

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

FilterScope

BandwidthBytesPerSeconds

public long BandwidthBytesPerSeconds { get; set; }

Property Value

long

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

ThrottleChannel

public ThrottleChannel ThrottleChannel { get; set; }

Property Value

ThrottleChannel

Methods

Init(StartupContext)

Called once by the engine to initialize this directive

public override void Init(StartupContext startupContext)

Parameters

startupContext StartupContext

InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
scope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask