30.77. 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

30.77.1. Inheritance

objectQueueStorageBase

30.77.2. Implements

IQueueStorage, IInitializable, IHealthCheckProvider

30.77.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

30.77.4. Constructors

30.77.4.1. QueueStorageBase(Amqp)

Initializes a new instance of the class with the specified AMQP options.

protected QueueStorageBase(Amqp options)

30.77.4.1.1. Parameters

options Amqp

The AMQP options to configure the queue storage.

30.77.4.1.2. Exceptions

ArgumentOutOfRangeException

Thrown when any of the required options are not defined or invalid.

30.77.5. Fields

30.77.5.1. IsInitialized

Gets a value indicating whether the queue storage has been initialized.

public bool IsInitialized

30.77.5.1.1. Field Value

bool

30.77.5.2. Options

Represents the configuration settings for the AMQP (Advanced Message Queuing Protocol) connection.

public readonly Amqp Options

30.77.5.2.1. Field Value

Amqp

30.77.6. Properties

30.77.6.1. MaxPriority

Max priority supported by the queue

public int MaxPriority { get; }

30.77.6.1.1. Property Value

int

30.77.7. Methods

30.77.7.1. Check(HealthCheckTag)

Checks the status of a class for the given health check type.

public virtual Task<HealthCheckResult> Check(HealthCheckTag tag)

30.77.7.1.1. Parameters

tag HealthCheckTag

Health check for which the class has to answer.

30.77.7.1.2. Returns

Task<HealthCheckResult>

The result of the check containing the status of the class for the health check type.

30.77.7.2. Init(CancellationToken)

Executes an initialization process for the class

public virtual Task Init(CancellationToken cancellationToken)

30.77.7.2.1. Parameters

cancellationToken CancellationToken

Token used to cancel the execution of the method

30.77.7.2.2. Returns

Task

Task representing the asynchronous execution of the method