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() @IntrinsicCandidate()
  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. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  12. 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
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. 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
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. 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
  18. def listAgreements(implicit traceContext: TraceContext): Future[Seq[(DomainId, ServiceAgreement)]]

    List all stored agreements.

    List all stored agreements.

    Definition Classes
    InMemoryServiceAgreementStoreServiceAgreementStore
  19. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    InMemoryServiceAgreementStoreNamedLogging
  21. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. 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
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. 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 ServiceAgreementStore

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped