Queue

data class Queue(val name: String, val unlogged: Boolean = false, val enableNotifyInsert: Boolean = false, val throttleNotifyInterval: Duration = 250.milliseconds)(source)

Represents a queue configuration with specific attributes.

Throws

if the name is empty or blank.

Constructors

Link copied to clipboard
constructor(name: String, unlogged: Boolean = false, enableNotifyInsert: Boolean = false, throttleNotifyInterval: Duration = 250.milliseconds)

Properties

Link copied to clipboard

A flag specifying if notifications should be enabled for insert operations. Defaults to false.

Link copied to clipboard

The name of the queue. It must be a non-empty and non-blank string.

Link copied to clipboard

The interval between consecutive insertion notification throttling checks. Must be positive and less than 1 second. Defaults to 100 milliseconds.

Link copied to clipboard

A flag indicating whether the queue operates in an unlogged mode. Defaults to false.