c

com.digitalasset.canton.participant.store.memory

InMemoryMultiDomainCausalityStore

class InMemoryMultiDomainCausalityStore extends MultiDomainCausalityStore with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryMultiDomainCausalityStore
  2. NamedLogging
  3. MultiDomainCausalityStore
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InMemoryMultiDomainCausalityStore(loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

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 awaitTransferOutRegistered(id: TransferId, parties: Set[LfPartyId])(implicit tc: TraceContext): Future[Map[LfPartyId, VectorClock]]
    Definition Classes
    MultiDomainCausalityStore
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    InMemoryMultiDomainCausalityStore → AutoCloseable
  8. implicit val ec: ExecutionContext
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val highestSeen: TrieMap[DomainId, CantonTimestamp]

    The map from domains to the highest timestamp that has been published on that domain

    The map from domains to the highest timestamp that has been published on that domain

    Definition Classes
    MultiDomainCausalityStore
    Annotations
    @VisibleForTesting()
  15. def highestSeenOn(domain: DomainId): Option[CantonTimestamp]
    Definition Classes
    MultiDomainCausalityStore
  16. def inspectTransferStoreForTesting(id: TransferId): Option[Map[LfPartyId, VectorClock]]
    Definition Classes
    MultiDomainCausalityStore
    Annotations
    @VisibleForTesting()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def loadTransferOutStateFromPersistentStore(transferId: TransferId, parties: Set[LfPartyId])(implicit tc: TraceContext): Future[Option[Map[LfPartyId, VectorClock]]]

    * Load the causal state at a transfer-out into memory.

    * Load the causal state at a transfer-out into memory.

    returns

    Whether the causal state for the transfer-out was found.

    Definition Classes
    InMemoryMultiDomainCausalityStoreMultiDomainCausalityStore
  19. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    InMemoryMultiDomainCausalityStoreNamedLogging
  21. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def persistCausalityMessageState(id: TransferId, vectorClocks: List[VectorClock])(implicit tc: TraceContext): Future[Unit]

    Write the causal state from a causality message to a persistent store

    Write the causal state from a causality message to a persistent store

    Attributes
    protected
    Definition Classes
    InMemoryMultiDomainCausalityStoreMultiDomainCausalityStore
  27. def registerCausalityMessages(causalityMessages: List[CausalityMessage])(implicit tc: TraceContext): Future[Unit]

    Register causality messages corresponding to transfer-out events on unconnected domains

    Register causality messages corresponding to transfer-out events on unconnected domains

    Definition Classes
    MultiDomainCausalityStore
  28. def registerSeen(domain: DomainId, timestamp: CantonTimestamp): Unit
    Definition Classes
    MultiDomainCausalityStore
  29. def registerTransferOut(id: TransferId, vectorClocks: Set[VectorClock])(implicit tc: TraceContext): Unit

    Register that a transfer-out has completed with the provided causal state.

    Register that a transfer-out has completed with the provided causal state. This unblocks the corresponding transfer-in.

    Definition Classes
    MultiDomainCausalityStore
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. val transferOutPromises: TrieMap[TransferId, Promise[Unit]]
    Attributes
    protected
    Definition Classes
    MultiDomainCausalityStore
  33. val transferStore: TrieMap[TransferId, Map[LfPartyId, VectorClock]]
    Attributes
    protected
    Definition Classes
    MultiDomainCausalityStore
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. 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

Inherited from NamedLogging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped