FifoDeduplicationIdsHistory

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 Serializable
trait Product
trait Equals
trait LazyLogging
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def wasRegistered(maybeDeduplicationId: Option[DeduplicationId]): Option[InternalMessage]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging