c

com.digitalasset.canton.participant.sync

SyncDomainPersistentStateManagerImpl

abstract class SyncDomainPersistentStateManagerImpl[S <: SyncDomainPersistentState] extends SyncDomainPersistentStateManager with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SyncDomainPersistentStateManagerImpl
  2. NamedLogging
  3. SyncDomainPersistentStateManager
  4. SyncDomainPersistentStateLookup
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SyncDomainPersistentStateManagerImpl(aliasResolution: DomainAliasResolution, storage: Storage, indexedStringStore: IndexedStringStore, parameters: ParticipantNodeParameters, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContext)

Abstract Value Members

  1. abstract def mkPersistentState(alias: DomainAlias, domainId: IndexedDomain, protocolVersion: ProtocolVersion): S
    Attributes
    protected
  2. abstract def topologyFactoryFor(domainId: DomainId): Option[TopologyComponentFactory]

Concrete 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. def aliasForDomainId(domainId: DomainId): Option[DomainAlias]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    SyncDomainPersistentStateManagerImpl → AutoCloseable
  8. def domainIdForAlias(domainAlias: DomainAlias): Option[DomainId]
  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. def get(domainId: DomainId): Option[S]
  13. def getAll: Map[DomainId, S]
  14. def getByAlias(domainAlias: DomainAlias): Option[S]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def getStatusOf(domainId: DomainId): Option[Status]
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def indexedDomainId(domainId: DomainId): Future[IndexedDomain]
  19. val indexedStringStore: IndexedStringStore
  20. def initializePersistentStates()(implicit traceContext: TraceContext): Future[Unit]

    Creates com.digitalasset.canton.participant.store.SyncDomainPersistentStates for all known domain aliases provided that the domain parameters and a sequencer offset are known.

    Creates com.digitalasset.canton.participant.store.SyncDomainPersistentStates for all known domain aliases provided that the domain parameters and a sequencer offset are known. Does not check for unique contract key domain constraints. Must not be called concurrently with itself or other methods of this class.

    Definition Classes
    SyncDomainPersistentStateManagerImplSyncDomainPersistentStateManager
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    SyncDomainPersistentStateManagerImplNamedLogging
  24. def lookupOrCreatePersistentState(domainAlias: DomainAlias, domainId: IndexedDomain, domainParameters: StaticDomainParameters, participantSettings: Eval[ParticipantSettingsLookup])(implicit traceContext: TraceContext): EitherT[Future, DomainRegistryError, SyncDomainPersistentState]

    Retrieves the com.digitalasset.canton.participant.store.SyncDomainPersistentState from the com.digitalasset.canton.participant.sync.SyncDomainPersistentStateManager for the given domain if there is one.

    Retrieves the com.digitalasset.canton.participant.store.SyncDomainPersistentState from the com.digitalasset.canton.participant.sync.SyncDomainPersistentStateManager for the given domain if there is one. Otherwise creates a new com.digitalasset.canton.participant.store.SyncDomainPersistentState for the domain and registers it with the com.digitalasset.canton.participant.sync.SyncDomainPersistentStateManager. Checks that the com.digitalasset.canton.protocol.StaticDomainParameters are the same as what has been persisted (if so) and enforces the unique contract key domain constraints.

    Must not be called concurrently with itself or other methods of this class.

    Definition Classes
    SyncDomainPersistentStateManagerImplSyncDomainPersistentStateManager
  25. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. def protocolVersionFor(domainId: DomainId): Option[ProtocolVersion]
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  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
    Deprecated

Inherited from NamedLogging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped