Object/Class

swaydb

Actor

Related Docs: class Actor | package swaydb

Permalink

object Actor

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Actor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Error extends AnyRef

    Permalink
  2. class Task[R, T[_]] extends AnyRef

    Permalink

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. object Error

    Permalink
  5. def apply[T, S](name: String, state: S)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  6. def apply[T](name: String)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink

    Basic stateless Actor that processes all incoming messages sequentially.

    Basic stateless Actor that processes all incoming messages sequentially.

    On each message send (!) the Actor is woken up if it's not already running.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def cache[T, S](name: String, state: S, stashCapacity: Int, weigher: (T) ⇒ Int)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  9. def cache[T](name: String, stashCapacity: Int, weigher: (T) ⇒ Int)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  10. def cacheFromConfig[T, S](config: ActorConfig, state: S, stashCapacity: Int, weigher: (T) ⇒ Int)(execution: (T, Actor[T, S]) ⇒ Unit): ActorRef[T, S]

    Permalink
  11. def cacheFromConfig[T](config: ActorConfig, stashCapacity: Int, weigher: (T) ⇒ Int)(execution: (T, Actor[T, Unit]) ⇒ Unit): ActorRef[T, Unit]

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def deadActor[T, S](): ActorRef[T, S]

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def timer[T, S](name: String, state: S, stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink

    Processes messages at regular intervals.

    Processes messages at regular intervals.

    If there are no messages in the queue the timer is stopped and restarted only when a new message is added the queue.

  25. def timer[T](name: String, stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  26. def timerCache[T, S](name: String, state: S, stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  27. def timerCache[T](name: String, stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  28. def timerLoop[T, S](name: String, state: S, stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink

    Checks the message queue for new messages at regular intervals indefinitely and processes them if the queue is non-empty.

    Checks the message queue for new messages at regular intervals indefinitely and processes them if the queue is non-empty.

    Use .submit instead of !. There should be a type-safe way of handling this but.

  29. def timerLoop[T](name: String, stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink

    Stateless timerLoop

  30. def timerLoopCache[T, S](name: String, state: S, stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  31. def timerLoopCache[T](name: String, stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def wire[T, S](name: String, impl: T, state: S)(implicit ec: ExecutionContext): ActorWire[T, S]

    Permalink
  37. def wire[T](name: String, impl: T)(implicit ec: ExecutionContext): ActorWire[T, Unit]

    Permalink
  38. def wireTimer[T, S](name: String, interval: FiniteDuration, stashCapacity: Int, impl: T, state: S)(implicit ec: ExecutionContext): ActorWire[T, S]

    Permalink
  39. def wireTimer[T](name: String, interval: FiniteDuration, stashCapacity: Int, impl: T)(implicit ec: ExecutionContext): ActorWire[T, Unit]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped