c

com.digitalasset.canton.participant.store.memory

InMemoryMultiDomainCausalityStore

class InMemoryMultiDomainCausalityStore extends MultiDomainCausalityStore

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryMultiDomainCausalityStore
  2. MultiDomainCausalityStore
  3. NamedLogging
  4. AnyRef
  5. 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. implicit val ec: ExecutionContext
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. 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()
  13. def highestSeenOn(domain: DomainId): Option[CantonTimestamp]
    Definition Classes
    MultiDomainCausalityStore
  14. def inspectTransferStoreForTesting(id: TransferId): Option[Map[LfPartyId, VectorClock]]
    Definition Classes
    MultiDomainCausalityStore
    Annotations
    @VisibleForTesting()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. 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
  17. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  18. val loggerFactory: NamedLoggerFactory
  19. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. 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
  25. 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
  26. def registerSeen(domain: DomainId, timestamp: CantonTimestamp): Unit
    Definition Classes
    MultiDomainCausalityStore
  27. 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
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. val transferOutPromises: TrieMap[TransferId, Promise[Unit]]
    Attributes
    protected
    Definition Classes
    MultiDomainCausalityStore
  31. val transferStore: TrieMap[TransferId, Map[LfPartyId, VectorClock]]
    Attributes
    protected
    Definition Classes
    MultiDomainCausalityStore
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. 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 AnyRef

Inherited from Any

Ungrouped