Packages

trait SingleDimensionEventLog[+Id <: EventLogId] extends SingleDimensionEventLogLookup

An event log for a single domain or for a domain-independent events (such as package uploads). Supports out-of-order publication of events.

Self Type
SingleDimensionEventLog[Id] with NamedLogging
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleDimensionEventLog
  2. SingleDimensionEventLogLookup
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def deleteAfter(exclusive: LocalOffset)(implicit traceContext: TraceContext): Future[Unit]

    Deletes all events whose local offset is greater than exclusive.

    Deletes all events whose local offset is greater than exclusive. This operation need not execute atomically.

  2. abstract def eventAt(offset: LocalOffset)(implicit traceContext: TraceContext): OptionT[Future, TimestampedEvent]
  3. abstract def eventById(eventId: EventId)(implicit traceContext: TraceContext): OptionT[Future, TimestampedEvent]
  4. implicit abstract def executionContext: ExecutionContext
    Attributes
    protected
  5. abstract def id: Id
  6. abstract def insertsUnlessEventIdClash(events: Seq[TimestampedEvent])(implicit traceContext: TraceContext): Future[Seq[Either[TimestampedEvent, Unit]]]

    Publishes many events.

    Publishes many events.

    returns

    For each event in events in the same order: scala.Left$ of the conficting event if an event with the same event ID has been published with a different (unpruned) com.digitalasset.canton.participant.LocalOffset. scala.Right$ if the event has been successfully inserted or has already been present in the event log

    Exceptions thrown

    java.lang.IllegalArgumentException if a different event has already been published with the same com.digitalasset.canton.participant.LocalOffset as one of the events in events.

  7. abstract def lookupEventRange(fromExclusive: Option[LocalOffset], toInclusive: Option[LocalOffset], fromTimestampInclusive: Option[CantonTimestamp], toTimestampInclusive: Option[CantonTimestamp], limit: Option[Int])(implicit traceContext: TraceContext): Future[SortedMap[LocalOffset, TimestampedEvent]]
  8. abstract def prune(beforeAndIncluding: LocalOffset)(implicit traceContext: TraceContext): Future[Unit]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def eventByTransactionId(transactionId: LedgerTransactionId)(implicit traceContext: TraceContext): OptionT[Future, TimestampedEvent]
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def insert(event: TimestampedEvent)(implicit traceContext: TraceContext): Future[Unit]

    Publishes an event and fails upon an event ID clash.

    Publishes an event and fails upon an event ID clash.

    Exceptions thrown

    java.lang.IllegalArgumentException if a different event has already been published with the same com.digitalasset.canton.participant.LocalOffset or an event with the same com.digitalasset.canton.participant.sync.TimestampedEvent.EventId has been published with a different (unpruned) com.digitalasset.canton.participant.LocalOffset.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped