com.digitalasset.canton.participant.store
MultiDomainCausalityStore
Companion object MultiDomainCausalityStore
trait MultiDomainCausalityStore extends AutoCloseable
- Alphabetic
- By Inheritance
- MultiDomainCausalityStore
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- implicit abstract val ec: ExecutionContext
- abstract 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.
- Attributes
- protected
- abstract 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
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def awaitTransferOutRegistered(id: TransferId, parties: Set[LfPartyId])(implicit tc: TraceContext): Future[Map[LfPartyId, VectorClock]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- Annotations
- @VisibleForTesting()
- def highestSeenOn(domain: DomainId): Option[CantonTimestamp]
- def inspectTransferStoreForTesting(id: TransferId): Option[Map[LfPartyId, VectorClock]]
- Annotations
- @VisibleForTesting()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def registerCausalityMessages(causalityMessages: List[CausalityMessage])(implicit tc: TraceContext): Future[Unit]
Register causality messages corresponding to transfer-out events on unconnected domains
- def registerSeen(domain: DomainId, timestamp: CantonTimestamp): Unit
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val transferOutPromises: TrieMap[TransferId, Promise[Unit]]
- Attributes
- protected
- val transferStore: TrieMap[TransferId, Map[LfPartyId, VectorClock]]
- Attributes
- protected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])