class InMemoryDamlPackageStore extends DamlPackageStore with NamedLogging

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

Instance Constructors

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

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 anyPackagePreventsDarRemoval(packages: Seq[PackageId], removeDar: DarDescriptor)(implicit tc: TraceContext): OptionT[Future, PackageId]

    Find from packages a registered package that does not exist in any dar except perhaps removeDar.

    Find from packages a registered package that does not exist in any dar except perhaps removeDar. This checks whether a DAR containing packages can be safely removed -- if there's any package that would be left without a DAR then we won't remove the DAR.

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  5. def append(pkgs: Seq[(Archive, Option[LfPackageName], Option[LfPackageVersion])], sourceDescription: String256M, dar: Option[Dar])(implicit traceContext: TraceContext): FutureUnlessShutdown[Unit]

    pkgs

    Daml packages to be stored

    dar

    The DAR containing the packages

    returns

    Future which gets completed when the packages are successfully stored.

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def close(): Unit
    Definition Classes
    InMemoryDamlPackageStore → AutoCloseable
  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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def getDar(hash: Hash)(implicit traceContext: TraceContext): Future[Option[Dar]]

    Get DAR by hash

    Get DAR by hash

    hash

    The hash of the DAR file

    returns

    Future that will contain an empty option if the DAR with the given hash could not be found or an option with the DAR if it could be found.

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  14. def getPackage(packageId: LfPackageId)(implicit traceContext: TraceContext): Future[Option[Archive]]

    packageId

    The package id of the Daml package to be retrieved from the store.

    returns

    Future that will contain an empty option if the package with the given id could not be found or an option with the archive (serialized version of the package) if it could be found.

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  15. def getPackageDescription(packageId: LfPackageId)(implicit traceContext: TraceContext): Future[Option[PackageDescription]]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def listDars(limit: Option[Int])(implicit traceContext: TraceContext): Future[Seq[DarDescriptor]]

    returns

    Future with sequence of DAR descriptors (hash and name)

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  19. def listPackages(limit: Option[Int])(implicit traceContext: TraceContext): Future[Seq[PackageDescription]]

    returns

    yields descriptions of all persisted Daml packages

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  20. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    InMemoryDamlPackageStoreNamedLogging
  22. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. def removeDar(hash: Hash)(implicit traceContext: TraceContext): FutureUnlessShutdown[Unit]

    Remove the DAR with hash hash from the store

    Remove the DAR with hash hash from the store

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  28. def removePackage(packageId: PackageId)(implicit traceContext: TraceContext): FutureUnlessShutdown[Unit]

    Remove the package from the package store.

    Remove the package from the package store.

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

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped