Table of Contents

Interface IMessageQueue

Namespace
DotCompute.Abstractions.Messaging
Assembly
DotCompute.Abstractions.dll

Non-generic base interface for message queues (used for reflection).

public interface IMessageQueue : IDisposable
Inherited Members
Extension Methods

Remarks

This interface provides non-generic access to message queue properties and operations for scenarios requiring reflection or dynamic typing.

Properties

Capacity

Gets the maximum capacity of the queue.

int Capacity { get; }

Property Value

int

Count

Gets the current number of messages in the queue.

int Count { get; }

Property Value

int

IsEmpty

Gets a value indicating whether the queue is empty.

bool IsEmpty { get; }

Property Value

bool

IsFull

Gets a value indicating whether the queue is full.

bool IsFull { get; }

Property Value

bool

Methods

Clear()

Removes all messages from the queue.

void Clear()