pgmq4s
Members list
Type members
Classlikes
Maximum number of messages to read in a single read call.
Maximum number of messages to read in a single read call.
Use BatchSize.apply for validated construction, BatchSize.unsafe when the value is known to be valid, or the n.messages inline extension for compile-time literal checks.
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BatchSize.type
A message read from a PGMQ queue.
A message read from a PGMQ queue.
Type parameters
- H
-
headers type (covariant;
Nothingwhen no headers are present) - P
-
payload type
Attributes
- Source
- models.scala
- Supertypes
- Known subtypes
-
class Plain[A]
Message identifier, wrapping a Long assigned by PGMQ.
Message identifier, wrapping a Long assigned by PGMQ.
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MessageId.type
Row returned by pgmq.list_notify_insert_throttles.
Tagless-final algebra for PGMQ queue management and observability.
Tagless-final algebra for PGMQ queue management and observability.
Provides create, drop, purge, metrics, listing, and topic management operations. Each database backend supplies a concrete implementation (e.g. DoobiePgmqAdmin, SkunkPgmqAdmin).
Type parameters
- F
-
effect type with
Functorcapabilities
Attributes
- Source
- PgmqAdmin.scala
- Supertypes
Protected backend interface for raw queue management operations. Implemented by each database backend; not intended for direct use.
Protected backend interface for raw queue management operations. Implemented by each database backend; not intended for direct use.
Attributes
- Source
- PgmqAdminBackend.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PgmqAdmin[F]
Protected backend interface for raw (String-level) message operations. Implemented by each database backend; not intended for direct use.
Protected backend interface for raw (String-level) message operations. Implemented by each database backend; not intended for direct use.
Attributes
- Source
- PgmqBackend.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PgmqClient[F]
Tagless-final algebra for PGMQ message operations.
Tagless-final algebra for PGMQ message operations.
Provides typed send, read, pop, archive, delete, and visibility-timeout methods. Each database backend (Doobie, Skunk, Anorm, Slick) supplies a concrete implementation.
Type parameters
- F
-
effect type with
MonadThrowcapabilities
Attributes
- Source
- PgmqClient.scala
- Supertypes
Combined PgmqEncoder and PgmqDecoder for type A.
Combined PgmqEncoder and PgmqDecoder for type A.
Attributes
- Companion
- object
- Source
- codecs.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- codecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PgmqCodec.type
Typeclass for decoding JSON strings to values of type A. Bridge modules (e.g. pgmq4s.circe) provide given instances that derive PgmqDecoder from the library's own decoder.
Typeclass for decoding JSON strings to values of type A. Bridge modules (e.g. pgmq4s.circe) provide given instances that derive PgmqDecoder from the library's own decoder.
Attributes
- Companion
- object
- Source
- codecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PgmqCodec[A]
Attributes
- Companion
- trait
- Source
- codecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PgmqDecoder.type
Typeclass for encoding values of type A to JSON strings. Bridge modules (e.g. pgmq4s.circe) provide given instances that derive PgmqEncoder from the library's own encoder.
Typeclass for encoding values of type A to JSON strings. Bridge modules (e.g. pgmq4s.circe) provide given instances that derive PgmqEncoder from the library's own encoder.
Attributes
- Companion
- object
- Source
- codecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PgmqCodec[A]
Attributes
- Companion
- trait
- Source
- codecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PgmqEncoder.type
Queue metadata returned by pgmq.list_queues.
Queue-level statistics returned by pgmq.metrics.
Queue name, wrapping a plain String.
Queue name, wrapping a plain String.
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
QueueName.type
Internal DTO representing a raw database row before JSON decoding.
Internal DTO representing a raw database row before JSON decoding.
Attributes
- Source
- models.scala
- Supertypes
Routing key for topic-based message delivery (e.g. "orders.eu.created").
Routing key for topic-based message delivery (e.g. "orders.eu.created").
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RoutingKey.type
Result row from pgmq.test_routing, showing which queues match a routing key.
Result row from pgmq.test_routing, showing which queues match a routing key.
Attributes
- Source
- models.scala
- Supertypes
Throttle interval for NOTIFY triggers — minimum time between notifications.
Throttle interval for NOTIFY triggers — minimum time between notifications.
ThrottleInterval(250.millis)
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ThrottleInterval.type
Result row from pgmq.send_batch_topic, pairing a queue with its message ID.
Result row from pgmq.send_batch_topic, pairing a queue with its message ID.
Attributes
- Source
- models.scala
- Supertypes
Binding pattern with * (single segment) and # (zero or more) wildcards.
Binding pattern with * (single segment) and # (zero or more) wildcards.
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TopicPattern.type
Visibility timeout — how long a read message is hidden from other consumers.
Visibility timeout — how long a read message is hidden from other consumers.
Constructed from a scala.concurrent.duration.FiniteDuration:
VisibilityTimeout(30.seconds)
Attributes
- Source
- models.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
VisibilityTimeout.type
Types
Attributes
- Source
- models.scala
Attributes
- Source
- models.scala
Attributes
- Source
- models.scala
Attributes
- Source
- models.scala
Attributes
- Source
- models.scala
Attributes
- Source
- models.scala
Attributes
- Source
- models.scala
