SystemConsumerStrategies enum

System supported consumer strategies for use with persistent subscriptions.

Inheritance

Constructors

SystemConsumerStrategies()
const

Values

dispatchToSingle → const SystemConsumerStrategies

Distributes events to a single client until it is full, then round robin to the next client.

roundRobin → const SystemConsumerStrategies

Distribute events to each client in a round robin fashion.

pinned → const SystemConsumerStrategies

Distribute events of the same streamId to the same client until it disconnects on a best efforts basis. Designed to be used with indexes such as the category projection.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<SystemConsumerStrategies>
A constant List of the values in this enum, in order of their declaration.