org.elasticmq.FifoDeduplicationIdsHistory
See theFifoDeduplicationIdsHistory companion object
case class FifoDeduplicationIdsHistory(messagesByDeduplicationId: Map[DeduplicationId, InternalMessage], deduplicationIdsByCreationDate: List[DeduplicationIdWithCreationDate]) extends LazyLogging
Contains history of used Deduplication IDs associated with incoming messages to FIFO queues
Value parameters
- deduplicationIdsByCreationDate
-
Deduplication IDs stored together with the message creation date. Incoming IDs should be already sorted by their creation date so it is safe to assume that the list will be ordered from oldest to newest. Used for fast lookups for messages by their creation date while cleaning outdated messages
- messagesByDeduplicationId
-
contains all registered deduplication IDs with associated messages. Used as a fast access storage for lookups if given ID was already registered
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LazyLoggingclass Objecttrait Matchableclass Any
Members list
In this article