CreditIngressAttachmentPolicy<LogicType extends Logic> class

Maps unbackpressured credited ingress onto explicit admission.

Annotations

Constructors

CreditIngressAttachmentPolicy({required int capacity, bool allowUnspecifiedContract = false, bool supportsSameCycleReplacement = true})
Creates a credited ingress policy.

Properties

allowUnspecifiedContract → bool
Whether unspecified legacy contracts are accepted.
final
capabilities → DirectionalAttachmentCapabilities
Static ingress behavior.
final
capacity → int
Advertised receiver capacity.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach({required CreditInterface<LogicType> upstream, required Logic canAccept, required Logic slotReleased, required Logic accept, required LogicType payload, required Logic overflow, required String name}) → CreditIngressAttachmentBinding<LogicType>
Validates provisioning and connects credited ingress actions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited