Trait

org.sisioh.dddbase.lifecycle.memory.async

AsyncRepositoryOnMemory

Related Doc: package async

Permalink

trait AsyncRepositoryOnMemory[ID <: Identifier[_], E <: Entity[ID]] extends AsyncRepository[ID, E]

Represents async repository that have entities on memories.

ID

id type

E

entity type

Linear Supertypes
AsyncRepository[ID, E], AsyncEntityWriter[ID, E], AsyncEntityReader[ID, E], AsyncEntityIO, Repository[ID, E, Future], EntityWriter[ID, E, Future], EntityReader[ID, E, Future], EntityIO[Future], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncRepositoryOnMemory
  2. AsyncRepository
  3. AsyncEntityWriter
  4. AsyncEntityReader
  5. AsyncEntityIO
  6. Repository
  7. EntityWriter
  8. EntityReader
  9. EntityIO
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Ctx = EntityIOContext[Future]

    Permalink
    Definition Classes
    EntityIO
  2. type Result = AsyncResultWithEntity[This, ID, E]

    Permalink
    Definition Classes
    AsyncEntityWriter → EntityWriter
  3. type Results = AsyncResultWithEntities[This, ID, E]

    Permalink
    Definition Classes
    AsyncEntityWriter → EntityWriter
  4. abstract type This <: AsyncRepository[ID, E]

    Permalink
    Definition Classes
    AsyncRepository → AsyncEntityWriter → Repository → EntityWriter

Abstract Value Members

  1. abstract def deleteBy(identifier: ID)(implicit ctx: Ctx): Future[Result]

    Permalink
    Definition Classes
    EntityWriter
  2. abstract def existBy(identifier: ID)(implicit ctx: Ctx): Future[Boolean]

    Permalink
    Definition Classes
    EntityReader
  3. abstract def getEntities: Map[ID, E]

    Permalink
    Attributes
    protected
  4. abstract def resolveBy(identifier: ID)(implicit ctx: Ctx): Future[E]

    Permalink
    Definition Classes
    EntityReader
  5. abstract def store(entity: E)(implicit ctx: Ctx): Future[Result]

    Permalink
    Definition Classes
    EntityWriter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(identifier: ID)(implicit ctx: Ctx): Future[E]

    Permalink
    Definition Classes
    EntityReader
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def deleteByMulti(identifiers: ID*)(implicit ctx: Ctx): Future[Results]

    Permalink
    Definition Classes
    EntityWriter
  8. def entities: Map[ID, E]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def exist(entity: E)(implicit ctx: Ctx): Future[Boolean]

    Permalink
    Definition Classes
    EntityReader
  12. def existByMulti(identifiers: ID*)(implicit ctx: Ctx): Future[Boolean]

    Permalink
    Definition Classes
    EntityReader
  13. def existMulti(entities: E*)(implicit ctx: Ctx): Future[Boolean]

    Permalink
    Definition Classes
    EntityReader
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getExecutionContext(ctx: Ctx): ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncEntityIO
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def mapValues[A, R](values: Future[A])(f: (A) ⇒ R)(implicit ctx: Ctx): Future[R]

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncEntityReader → EntityReader
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def resolveByMulti(identifiers: ID*)(implicit ctx: Ctx): Future[Seq[E]]

    Permalink
    Definition Classes
    EntityReader
  24. def storeMulti(entities: E*)(implicit ctx: Ctx): Future[Results]

    Permalink
    Definition Classes
    EntityWriter
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def traverse[A, R](values: Seq[A], forceSuccess: Boolean)(f: (A) ⇒ Future[R])(implicit ctx: Ctx): Future[Seq[R]]

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncEntityReader → EntityReader
  28. final def traverseWithThis[A](values: Seq[A])(processor: (This, A) ⇒ Future[Result])(implicit ctx: Ctx): Future[Results]

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncEntityWriter → EntityWriter
  29. def traverseWithoutFailures[A, R](values: Seq[A])(f: (A) ⇒ Future[R])(implicit ctx: Ctx): Future[Seq[R]]

    Permalink
    Attributes
    protected
    Definition Classes
    EntityReader
  30. def update(identifier: ID, entity: E)(implicit ctx: Ctx): Future[Result]

    Permalink
    Definition Classes
    EntityWriter
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AsyncRepository[ID, E]

Inherited from AsyncEntityWriter[ID, E]

Inherited from AsyncEntityReader[ID, E]

Inherited from AsyncEntityIO

Inherited from Repository[ID, E, Future]

Inherited from EntityWriter[ID, E, Future]

Inherited from EntityReader[ID, E, Future]

Inherited from EntityIO[Future]

Inherited from AnyRef

Inherited from Any

Ungrouped