acknowledge

abstract fun acknowledge(seqno: SequenceNumber, site: SiteIdentifier)

Acknowledges the given SequenceNumber for a SiteIdentifier. The behavior of the acknowledgement will be similar to what the insert method does.

Parameters

seqno

the SequenceNumber for the acknowledged event.

site

the SiteIdentifier for the acknowledged event.


abstract fun acknowledge(from: EventLog): MutableEventLog

Acknowledges the latest SequenceNumber for each SiteIdentifier that the other MutableEventLog contains. The behavior of the acknowledgement will be similar to what the acknowledge method does.

Return

this MutableEventLog instance (with the new acknowledgements).

Parameters

from

the MutableEventLog from which acknowledgements are merged.