contains

abstract fun contains(seqno: SequenceNumber, site: SiteIdentifier): Boolean

Returns true if the event with the event with the given SiteIdentifier is included in the EventLog, or if any event with the same SiteIdentifier and a higher SequenceNumber has already been integrated.

Return

true iff the event was already integrated.

Parameters

seqno

the SequenceNumber to check for.

site

the SiteIdentifier to check for.


open operator fun contains(id: EventIdentifier): Boolean

Returns true if the event with the event with the given EventIdentifier is included in the EventLog, or if any event with the same SiteIdentifier and a higher SequenceNumber has already been integrated.

Return

true iff the event was already integrated.

Parameters

id

the EventIdentifier to check for.