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: List[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: List[Archive], sourceDescription: String256M, dar: Option[Dar])(implicit traceContext: TraceContext): Future[Unit]

    dar

    The DAR containing the package

    returns

    Future which gets completed when the package is 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() @HotSpotIntrinsicCandidate()
  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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. 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
  13. 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
  14. def getPackageDescription(packageId: LfPackageId)(implicit traceContext: TraceContext): Future[Option[PackageDescription]]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def listDars(limit: Option[Int])(implicit traceContext: TraceContext): Future[Seq[DarDescriptor]]

    returns

    Future with sequence of DAR descriptors (hash and name)

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

    returns

    yields descriptions of all persisted Daml packages

    Definition Classes
    InMemoryDamlPackageStoreDamlPackageStore
  19. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    InMemoryDamlPackageStoreNamedLogging
  21. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    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() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def removeDar(hash: Hash)(implicit traceContext: TraceContext): Future[Unit]

    Remove the DAR with hash hash from the store

    Remove the DAR with hash hash from the store

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

    Remove the package from the package store.

    Remove the package from the package store.

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

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped