Class ConnectionSourceSettings
Inheritance
ConnectionSourceSettings
Assembly: Akka.Streams.SignalR.AspNetCore.dll
Syntax
public sealed class ConnectionSourceSettings : object
Constructors
|
Improve this Doc
View Source
ConnectionSourceSettings(Int32, OverflowStrategy)
Declaration
public ConnectionSourceSettings(int bufferCapacity, OverflowStrategy overflowStrategy)
Parameters
Type |
Name |
Description |
Int32 |
bufferCapacity |
|
OverflowStrategy |
overflowStrategy |
|
Fields
|
Improve this Doc
View Source
Default
Declaration
public static readonly ConnectionSourceSettings Default
Field Value
Properties
|
Improve this Doc
View Source
BufferCapacity
Determines capacity of the buffer used in case, when SignalR messages are
comming faster than they can be processed by the downstream.
Declaration
public int BufferCapacity { get; }
Property Value
|
Improve this Doc
View Source
OverflowStrategy
Determines the reaction of the buffer in case, when arriving messages
will overflow BufferCapacity.
Keep in mind that is
not allowed option, as it's not supported by SignalR in its current version.
Declaration
public OverflowStrategy OverflowStrategy { get; }
Property Value
Type |
Description |
OverflowStrategy |
|
Methods
|
Improve this Doc
View Source
Create(ActorSystem)
Declaration
public static ConnectionSourceSettings Create(ActorSystem system)
Parameters
Type |
Name |
Description |
ActorSystem |
system |
|
Returns
|
Improve this Doc
View Source
Create(Config)
Declaration
public static ConnectionSourceSettings Create(Config config)
Parameters
Type |
Name |
Description |
Config |
config |
|
Returns
|
Improve this Doc
View Source
WithBufferSize(Int32)
Declaration
public ConnectionSourceSettings WithBufferSize(int bufferSize)
Parameters
Type |
Name |
Description |
Int32 |
bufferSize |
|
Returns
|
Improve this Doc
View Source
WithOverflowStrategy(OverflowStrategy)
Declaration
public ConnectionSourceSettings WithOverflowStrategy(OverflowStrategy overflowStrategy)
Parameters
Type |
Name |
Description |
OverflowStrategy |
overflowStrategy |
|
Returns