Class QueueProcessorConfiguration
Nastavenia spracovávača fronty
Inheritance
System.Object
QueueProcessorConfiguration
Implements
System.IEquatable<QueueProcessorConfiguration>
Namespace: NineDigit.eKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class QueueProcessorConfiguration : Object, IEquatable<QueueProcessorConfiguration>, IDeepCloneable<QueueProcessorConfiguration>, IDeepCloneable
Constructors
QueueProcessorConfiguration()
Vytvorí inštanciu s predvolenými hodnotami
Declaration
public QueueProcessorConfiguration()
QueueProcessorConfiguration(QueueProcessorConfiguration)
Vytvorí kópiu nastavení
Declaration
public QueueProcessorConfiguration(QueueProcessorConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
QueueProcessorConfiguration | configuration | Nastavenia, ktorých hodnoty budú skopírované |
Properties
MaxRetryCount
Maximálny počet opakovaní zlyhaných spracovaní požiadavky, po ktorých dôjde k pozastaveniu spracovávača fronty.
Declaration
public int MaxRetryCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Kladné číslo. Predvolená hodnota je 3 |
Examples
3
Methods
DeepClone()
Declaration
public QueueProcessorConfiguration DeepClone()
Returns
Type | Description |
---|---|
QueueProcessorConfiguration |
Equals(QueueProcessorConfiguration)
Declaration
public bool Equals(QueueProcessorConfiguration other)
Parameters
Type | Name | Description |
---|---|---|
QueueProcessorConfiguration | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(QueueProcessorConfiguration, QueueProcessorConfiguration)
Declaration
public static bool Equals(QueueProcessorConfiguration first, QueueProcessorConfiguration second)
Parameters
Type | Name | Description |
---|---|---|
QueueProcessorConfiguration | first | |
QueueProcessorConfiguration | second |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Explicit Interface Implementations
IDeepCloneable.DeepClone()
Declaration
object IDeepCloneable.DeepClone()
Returns
Type | Description |
---|---|
System.Object |
Implements
System.IEquatable<>