Class PersistenceSettings.AtLeastOnceDeliverySettings
TBD
Inherited Members
Namespace: Akka.Persistence
Assembly: Akka.Persistence.dll
Syntax
public sealed class PersistenceSettings.AtLeastOnceDeliverySettings
Constructors
| Edit this page View SourceAtLeastOnceDeliverySettings(Config)
TBD
Declaration
public AtLeastOnceDeliverySettings(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config | TBD |
AtLeastOnceDeliverySettings(TimeSpan, int, int, int)
TBD
Declaration
public AtLeastOnceDeliverySettings(TimeSpan redeliverInterval, int redeliveryBurstLimit, int warnAfterNumberOfUnconfirmedAttempts, int maxUnconfirmedMessages)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | redeliverInterval | TBD |
| int | redeliveryBurstLimit | TBD |
| int | warnAfterNumberOfUnconfirmedAttempts | TBD |
| int | maxUnconfirmedMessages | TBD |
Properties
| Edit this page View SourceMaxUnconfirmedMessages
Maximum number of unconfirmed messages, that this actor is allowed to hold in the memory. When this number is exceed, Deliver(ActorPath, Func<long, object>, bool) will throw MaxUnconfirmedMessagesExceededException instead of accepting messages.
Declaration
public int MaxUnconfirmedMessages { get; }
Property Value
| Type | Description |
|---|---|
| int |
RedeliverInterval
Interval between redelivery attempts.
Declaration
public TimeSpan RedeliverInterval { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
RedeliveryBurstLimit
Maximum number of unconfirmed messages that will be sent at each redelivery burst. This is to help to prevent overflowing amount of messages to be sent at once, for eg. when destination cannot be reached for a long time.
Declaration
public int RedeliveryBurstLimit { get; }
Property Value
| Type | Description |
|---|---|
| int |
WarnAfterNumberOfUnconfirmedAttempts
After this number of delivery attempts a UnconfirmedWarning message will be sent to Self. The count is reset after restart.
Declaration
public int WarnAfterNumberOfUnconfirmedAttempts { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceWithMaxUnconfirmedMessages(int)
TBD
Declaration
public PersistenceSettings.AtLeastOnceDeliverySettings WithMaxUnconfirmedMessages(int maxUnconfirmedMessages)
Parameters
| Type | Name | Description |
|---|---|---|
| int | maxUnconfirmedMessages | TBD |
Returns
| Type | Description |
|---|---|
| PersistenceSettings.AtLeastOnceDeliverySettings | TBD |
WithRedeliverInterval(TimeSpan)
TBD
Declaration
public PersistenceSettings.AtLeastOnceDeliverySettings WithRedeliverInterval(TimeSpan redeliverInterval)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | redeliverInterval | TBD |
Returns
| Type | Description |
|---|---|
| PersistenceSettings.AtLeastOnceDeliverySettings | TBD |
WithRedeliveryBurstLimit(int)
TBD
Declaration
public PersistenceSettings.AtLeastOnceDeliverySettings WithRedeliveryBurstLimit(int redeliveryBurstLimit)
Parameters
| Type | Name | Description |
|---|---|---|
| int | redeliveryBurstLimit | TBD |
Returns
| Type | Description |
|---|---|
| PersistenceSettings.AtLeastOnceDeliverySettings | TBD |
WithUnconfirmedAttemptsToWarn(int)
TBD
Declaration
public PersistenceSettings.AtLeastOnceDeliverySettings WithUnconfirmedAttemptsToWarn(int unconfirmedAttemptsToWarn)
Parameters
| Type | Name | Description |
|---|---|---|
| int | unconfirmedAttemptsToWarn | TBD |
Returns
| Type | Description |
|---|---|
| PersistenceSettings.AtLeastOnceDeliverySettings | TBD |
Edit this page