c

com.digitalasset.canton.participant.store.memory

InMemoryServiceAgreementStore

class InMemoryServiceAgreementStore extends ServiceAgreementStore with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryServiceAgreementStore
  2. NamedLogging
  3. ServiceAgreementStore
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InMemoryServiceAgreementStore(loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

Type Members

  1. type ServiceAgreementStoreT[A] = EitherT[Future, ServiceAgreementStoreError, A]
    Definition Classes
    ServiceAgreementStore

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def close(): Unit
    Definition Classes
    InMemoryServiceAgreementStore → AutoCloseable
  7. def containsAcceptedAgreement(domainId: DomainId, agreementId: ServiceAgreementId)(implicit traceContext: TraceContext): Future[Boolean]

    Check if the given agreement has been accepted for the domain.

    Check if the given agreement has been accepted for the domain.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  8. def containsAgreement(domainId: DomainId, agreementId: ServiceAgreementId)(implicit traceContext: TraceContext): Future[Boolean]

    Check if the agreement has been stored already.

    Check if the agreement has been stored already.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def getAgreement(domainId: DomainId, agreementId: ServiceAgreementId)(implicit traceContext: TraceContext): ServiceAgreementStoreT[String256M]

    Get the agreement text of a stored agreement.

    Get the agreement text of a stored agreement.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def insertAcceptedAgreement(domainId: DomainId, agreementId: ServiceAgreementId)(implicit traceContext: TraceContext): EitherT[Future, ServiceAgreementStoreError, Unit]

    Store the acceptance of a previously stored agreement.

    Store the acceptance of a previously stored agreement.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def listAcceptedAgreements(domainId: DomainId)(implicit traceContext: TraceContext): Future[Seq[ServiceAgreementId]]

    List all accepted agreements for the domain.

    List all accepted agreements for the domain.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  17. def listAgreements(implicit traceContext: TraceContext): Future[Seq[(DomainId, ServiceAgreement)]]

    List all stored agreements.

    List all stored agreements.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  18. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    InMemoryServiceAgreementStoreNamedLogging
  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 storeAgreement(domainId: DomainId, agreementId: ServiceAgreementId, agreementText: String256M)(implicit traceContext: TraceContext): EitherT[Future, ServiceAgreementStoreError, Unit]

    Stores the agreement for the domain with the agreement text.

    Stores the agreement for the domain with the agreement text.

    Fails if the agreement has been stored already with a different text.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. 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 ServiceAgreementStore

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped