case class FifoDeduplicationIdsHistory(messagesByDeduplicationId: Map[DeduplicationId, InternalMessage], deduplicationIdsByCreationDate: List[DeduplicationIdWithCreationDate]) extends LazyLogging with Product with Serializable
Contains history of used Deduplication IDs associated with incoming messages to FIFO queues
- messagesByDeduplicationId
contains all registered deduplication IDs with associated messages. Used as a fast access storage for lookups if given ID was already registered
- 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
- Alphabetic
- By Inheritance
- FifoDeduplicationIdsHistory
- Serializable
- Serializable
- Product
- Equals
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FifoDeduplicationIdsHistory(messagesByDeduplicationId: Map[DeduplicationId, InternalMessage], deduplicationIdsByCreationDate: List[DeduplicationIdWithCreationDate])
- messagesByDeduplicationId
contains all registered deduplication IDs with associated messages. Used as a fast access storage for lookups if given ID was already registered
- 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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addNew(message: InternalMessage): FifoDeduplicationIdsHistory
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cleanOutdatedMessages(nowProvider: NowProvider): FifoDeduplicationIdsHistory
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val deduplicationIdsByCreationDate: List[DeduplicationIdWithCreationDate]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- val messagesByDeduplicationId: Map[DeduplicationId, InternalMessage]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def wasRegistered(maybeDeduplicationId: Option[DeduplicationId]): Option[InternalMessage]