listQueues

Retrieves the list of all available queues in the system.

This method queries the underlying database to fetch metadata about all queues, including their names, whether they are partitioned or unlogged, and their creation timestamps.

Return

A Result containing a list of QueueRecord objects representing the queues. The result is successful if the operation completes without errors, otherwise it contains an exception.