Class/Object

com.rbmhtechnology.eventuate.crdt.pure

AWCartService

Related Docs: object AWCartService | package pure

Permalink

class AWCartService[A] extends CRDTService[SimpleCRDT, Map[A, Int]]

Replicated AWCart CRDT service.

A

AWCart key type.

Linear Supertypes
CRDTService[SimpleCRDT, Map[A, Int]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AWCartService
  2. CRDTService
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AWCartService(serviceId: String, log: ActorRef)(implicit system: ActorSystem)

    Permalink

    serviceId

    Unique id of this service.

    log

    Event log.

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 add(id: String, key: A, quantity: Int): Future[Map[A, Int]]

    Permalink

    Adds the given quantity of key to the OR-Cart identified by id and returns the updated OR-Cart content.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clear(id: String): Future[Map[A, Int]]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. val log: ActorRef

    Permalink

    Event log.

    Event log.

    Definition Classes
    AWCartServiceCRDTService
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def op(id: String, operation: Operation): Future[Map[A, Int]]

    Permalink
    Attributes
    protected
    Definition Classes
    CRDTService
  19. val ops: CvRDTPureOpSimple[Map[A, Int]] { ... /* 4 definitions in type refinement */ }

    Permalink

    CRDT service operations.

    CRDT service operations.

    Definition Classes
    AWCartServiceCRDTService
  20. def remove(id: String, key: A): Future[Map[A, Int]]

    Permalink

    Removes the given key from the OR-Cart identified by id and returns the updated OR-Cart content.

  21. def save(id: String): Future[SnapshotMetadata]

    Permalink

    Saves a snapshot of the CRDT identified by id.

    Saves a snapshot of the CRDT identified by id.

    Definition Classes
    CRDTService
  22. val serviceId: String

    Permalink

    Unique id of this service.

    Unique id of this service.

    Definition Classes
    AWCartServiceCRDTService
  23. def start(): Unit

    Permalink

    Starts the CRDT service.

    Starts the CRDT service.

    Definition Classes
    CRDTService
  24. def stop(): Unit

    Permalink

    Stops the CRDT service.

    Stops the CRDT service.

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

    Permalink
    Definition Classes
    AnyRef
  26. implicit val system: ActorSystem

    Permalink

    This service's actor system.

    This service's actor system.

    Definition Classes
    AWCartServiceCRDTService
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def value(id: String): Future[Map[A, Int]]

    Permalink

    Returns the current value of the CRDT identified by id.

    Returns the current value of the CRDT identified by id.

    Definition Classes
    CRDTService
  29. final def wait(): Unit

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

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

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

Inherited from CRDTService[SimpleCRDT, Map[A, Int]]

Inherited from AnyRef

Inherited from Any

Ungrouped