26.72. Class QueueStorageBase
Namespace: ArmoniK.Core.Adapters.QueueCommon
Assembly: ArmoniK.Core.Adapters.QueueCommon.dll
Represents the base class for queue storage implementations
public class QueueStorageBase : IQueueStorage, IInitializable, IHealthCheckProvider
26.72.1. Inheritance
26.72.2. Implements
26.72.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.72.4. Constructors
26.72.4.1. QueueStorageBase(Amqp)
Initializes a new instance of the
protected QueueStorageBase(Amqp options)
26.72.4.1.1. Parameters
options Amqp
The AMQP options to configure the queue storage.
26.72.4.1.2. Exceptions
Thrown when any of the required options are not defined or invalid.
26.72.5. Fields
26.72.5.1. IsInitialized
Gets a value indicating whether the queue storage has been initialized.
public bool IsInitialized
26.72.5.1.1. Field Value
26.72.5.2. Options
Represents the configuration settings for the AMQP (Advanced Message Queuing Protocol) connection.
public readonly Amqp Options
26.72.5.2.1. Field Value
26.72.6. Properties
26.72.6.1. MaxPriority
Max priority supported by the queue
public int MaxPriority { get; }
26.72.6.1.1. Property Value
26.72.7. Methods
26.72.7.1. Check(HealthCheckTag)
Checks the status of a class for the given health check type.
public virtual Task<HealthCheckResult> Check(HealthCheckTag tag)
26.72.7.1.1. Parameters
tag HealthCheckTag
Health check for which the class has to answer.
26.72.7.1.2. Returns
The result of the check containing the status of the class for the health check type.
26.72.7.2. Init(CancellationToken)
Executes an initialization process for the class
public virtual Task Init(CancellationToken cancellationToken)
26.72.7.2.1. Parameters
cancellationToken CancellationToken
Token used to cancel the execution of the method
26.72.7.2.2. Returns
Task representing the asynchronous execution of the method