abstract class TopologyStoreX[+StoreID <: TopologyStoreId] extends AutoCloseable with TopologyStoreCommon[StoreID, GenericValidatedTopologyTransactionX, GenericStoredTopologyTransactionX, GenericSignedTopologyTransactionX]
- Alphabetic
- By Inheritance
- TopologyStoreX
- TopologyStoreCommon
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TopologyStoreX()(implicit ec: ExecutionContext)
Abstract Value Members
- abstract def bootstrap(snapshot: GenericStoredTopologyTransactionsX)(implicit traceContext: TraceContext): Future[Unit]
store an initial set of topology transactions as given into the store
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- abstract def currentDispatchingWatermark(implicit traceContext: TraceContext): Future[Option[CantonTimestamp]]
returns the current dispatching watermark
returns the current dispatching watermark
for topology transaction dispatching, we keep track up to which point in time we have mirrored the authorized store to the remote store
the timestamp always refers to the timestamp of the authorized store!
- Definition Classes
- TopologyStoreCommon
- abstract def dumpStoreContent()(implicit traceContext: TraceContext): Unit
- abstract def findDispatchingTransactionsAfter(timestampExclusive: CantonTimestamp, limit: Option[Int])(implicit traceContext: TraceContext): Future[GenericStoredTopologyTransactionsX]
- abstract def findEssentialStateForMember(member: Member, asOfInclusive: CantonTimestamp)(implicit traceContext: TraceContext): Future[GenericStoredTopologyTransactionsX]
- abstract def findFirstMediatorStateForMediator(mediatorId: MediatorId)(implicit traceContext: TraceContext): Future[Option[StoredTopologyTransactionX[Replace, MediatorDomainStateX]]]
- abstract def findFirstTrustCertificateForParticipant(participant: ParticipantId)(implicit traceContext: TraceContext): Future[Option[StoredTopologyTransactionX[Replace, DomainTrustCertificateX]]]
- abstract def findParticipantOnboardingTransactions(participantId: ParticipantId, domainId: DomainId)(implicit traceContext: TraceContext): FutureUnlessShutdown[Seq[GenericSignedTopologyTransactionX]]
returns initial set of onboarding transactions that should be dispatched to the domain
- abstract def findPositiveTransactions(asOf: CantonTimestamp, asOfInclusive: Boolean, isProposal: Boolean, types: Seq[Code], filterUid: Option[Seq[UniqueIdentifier]], filterNamespace: Option[Seq[Namespace]])(implicit traceContext: TraceContext): Future[PositiveStoredTopologyTransactionsX]
returns the set of positive transactions
returns the set of positive transactions
this function is used by the topology processor to determine the set of transaction, such that we can perform cascading updates if there was a certificate revocation
- asOfInclusive
whether the search interval should include the current timepoint or not. the state at t is defined as "exclusive" of t, whereas for updating the state, we need to be able to query inclusive.
- abstract def findProposalsByTxHash(asOfExclusive: EffectiveTime, hashes: NonEmpty[Set[TxHash]])(implicit traceContext: TraceContext): Future[Seq[GenericSignedTopologyTransactionX]]
- abstract def findStored(transaction: GenericSignedTopologyTransactionX)(implicit traceContext: TraceContext): Future[Option[GenericStoredTopologyTransactionX]]
- Definition Classes
- TopologyStoreCommon
- abstract def findStoredForVersion(transaction: GenericTopologyTransactionX, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext): Future[Option[GenericStoredTopologyTransactionX]]
- abstract def findTransactionsForMapping(asOfExclusive: EffectiveTime, hashes: NonEmpty[Set[MappingHash]])(implicit traceContext: TraceContext): Future[Seq[GenericSignedTopologyTransactionX]]
- abstract def findUpcomingEffectiveChanges(asOfInclusive: CantonTimestamp)(implicit traceContext: TraceContext): Future[Seq[Change]]
fetch the effective time updates greater than or equal to a certain timestamp
fetch the effective time updates greater than or equal to a certain timestamp
this function is used to recover the future effective timestamp such that we can reschedule "pokes" of the topology client and updates of the acs commitment processor on startup
- Definition Classes
- TopologyStoreCommon
- abstract def inspect(proposals: Boolean, timeQuery: TimeQueryX, recentTimestampO: Option[CantonTimestamp], op: Option[TopologyChangeOpX], typ: Option[Code], idFilter: String, namespaceOnly: Boolean)(implicit traceContext: TraceContext): Future[StoredTopologyTransactionsX[TopologyChangeOpX, TopologyMappingX]]
query optimized for inspection
query optimized for inspection
- proposals
if true, query only for proposals instead of approved transaction mappings
- recentTimestampO
if exists, use this timestamp for the head state to prevent race conditions on the console
- abstract def inspectKnownParties(timestamp: CantonTimestamp, filterParty: String, filterParticipant: String, limit: Int)(implicit traceContext: TraceContext): Future[Set[PartyId]]
- abstract def maxTimestamp()(implicit traceContext: TraceContext): Future[Option[(SequencedTime, EffectiveTime)]]
- Definition Classes
- TopologyStoreCommon
- abstract def storeId: StoreID
- Definition Classes
- TopologyStoreCommon
- abstract def update(sequenced: SequencedTime, effective: EffectiveTime, removeMapping: Set[MappingHash], removeTxs: Set[TxHash], additions: Seq[GenericValidatedTopologyTransactionX], expiredAdditions: Set[TxHash])(implicit traceContext: TraceContext): Future[Unit]
add validated topology transaction as is to the topology transaction table
- abstract def updateDispatchingWatermark(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[Unit]
update the dispatching watermark for this target store
update the dispatching watermark for this target store
- Definition Classes
- TopologyStoreCommon
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit val ec: ExecutionContext
- Definition Classes
- TopologyStoreX → TopologyStoreCommon
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def exists(transaction: GenericSignedTopologyTransactionX)(implicit traceContext: TraceContext): Future[Boolean]
- Definition Classes
- TopologyStoreCommon
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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 providesAdditionalSignatures(transaction: GenericSignedTopologyTransactionX)(implicit traceContext: TraceContext): Future[Boolean]
- Definition Classes
- TopologyStoreX → TopologyStoreCommon
- def signedTxFromStoredTx(storedTx: GenericStoredTopologyTransactionX): SignedTopologyTransactionX[TopologyChangeOpX, TopologyMappingX]
- Attributes
- protected
- Definition Classes
- TopologyStoreX → TopologyStoreCommon
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])