Search Results for

    Show / Hide Table of Contents

    Class MaxInFlightRequestStrategy

    Requests up to the max and also takes the number of messages that have been queued internally or delegated to other actors into account. Concrete subclass must implement InFlight. It will request elements in minimum batches of the defined BatchSize.

    Inheritance
    object
    MaxInFlightRequestStrategy
    Implements
    IRequestStrategy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Streams.Actors
    Assembly: Akka.Streams.dll
    Syntax
    public abstract class MaxInFlightRequestStrategy : IRequestStrategy

    Constructors

    | Edit this page View Source

    MaxInFlightRequestStrategy(int)

    TBD

    Declaration
    protected MaxInFlightRequestStrategy(int max)
    Parameters
    Type Name Description
    int max

    TBD

    Fields

    | Edit this page View Source

    Max

    TBD

    Declaration
    public readonly int Max
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    BatchSize

    Elements will be requested in minimum batches of this size. Default is 5. Subclass may override to define the batch size.

    Declaration
    public virtual int BatchSize { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InFlight

    Concrete subclass must implement this method to define how many messages that are currently in progress or queued.

    Declaration
    public abstract int InFlight { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    RequestDemand(int)

    TBD

    Declaration
    public int RequestDemand(int remainingRequested)
    Parameters
    Type Name Description
    int remainingRequested

    TBD

    Returns
    Type Description
    int

    TBD

    Implements

    IRequestStrategy

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET