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