class LocalMantikRegistryImpl extends ComponentBase with LocalMantikRegistry
- Alphabetic
- By Inheritance
- LocalMantikRegistryImpl
- LocalMantikRegistry
- MantikRegistry
- ComponentBase
- AkkaHelper
- Component
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LocalMantikRegistryImpl(fileRepository: FileRepository, repository: Repository)(implicit akkaRuntime: AkkaRuntime)
- Annotations
- @Inject()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def actorSystem: ActorSystem
- Attributes
- protected
- Definition Classes
- AkkaHelper
- def addMantikArtifact(mantikArtifact: MantikArtifact, payload: Option[(String, akka.stream.scaladsl.Source[ByteString, _])]): Future[MantikArtifact]
Add a Mantik Artifact to the Mantik Registry.
Add a Mantik Artifact to the Mantik Registry.
- mantikArtifact
the Artifact
- payload
the payload source (if there is any).
- returns
remote representation
- Definition Classes
- LocalMantikRegistryImpl → MantikRegistry
- def addShutdownHook(f: => Future[_]): Unit
- Attributes
- protected
- Definition Classes
- ComponentBase
- implicit val akkaRuntime: AkkaRuntime
- Attributes
- protected
- Definition Classes
- ComponentBase → Component
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clock: Clock
- Attributes
- protected
- Definition Classes
- AkkaHelper
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def config: Config
- Attributes
- protected
- Definition Classes
- AkkaHelper
- def ensureMantikId(itemId: ItemId, mantikId: NamedMantikId): Future[Boolean]
Ensure that the given item is referenced by mantikId.
Ensure that the given item is referenced by mantikId.
- returns
true if the item was found and updated, false if already existant.
- Definition Classes
- LocalMantikRegistryImpl → MantikRegistry
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def executionContext: ExecutionContext
- Attributes
- protected
- Definition Classes
- AkkaHelper
- def get(mantikId: MantikId): Future[MantikArtifact]
Retrieves an Artifact from the Mantik Registry.
Retrieves an Artifact from the Mantik Registry.
- Definition Classes
- LocalMantikRegistryImpl → MantikRegistry
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getPayload(fileId: String): Future[(String, akka.stream.scaladsl.Source[ByteString, _])]
Retrieves item payload from Mantik Registry.
Retrieves item payload from Mantik Registry.
- Definition Classes
- LocalMantikRegistryImpl → MantikRegistry
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def list(alsoAnonymous: Boolean, deployedOnly: Boolean, kindFilter: Option[String]): Future[IndexedSeq[MantikArtifact]]
List Mantik Artifacts.
List Mantik Artifacts.
- alsoAnonymous
if true, also return anonymous artifacts who are not named
- deployedOnly
if true, only return deployed artifacts
- kindFilter
if set, filter for a specific kind.
- Definition Classes
- LocalMantikRegistryImpl → LocalMantikRegistry
- final val logger: Logger
- Attributes
- protected
- Definition Classes
- ComponentBase
- implicit def materializer: Materializer
- Attributes
- protected
- Definition Classes
- AkkaHelper
- def maybeGet(mantikId: MantikId)(implicit ec: ExecutionContext): Future[Option[MantikArtifact]]
Like get, but returns None if the item doesn't exist.
Like get, but returns None if the item doesn't exist.
- Definition Classes
- MantikRegistry
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])