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](state: S)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit ec: ExecutionContext, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  6. def apply[T](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](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](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
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def timer[T, S](state: S, stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit scheduler: Scheduler, 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.

  23. def timer[T](stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit scheduler: Scheduler, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  24. def timerCache[T, S](state: S, stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit scheduler: Scheduler, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  25. def timerCache[T](stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit scheduler: Scheduler, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  26. def timerLoop[T, S](state: S, stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit scheduler: Scheduler, 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.

  27. def timerLoop[T](stashCapacity: Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit scheduler: Scheduler, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink

    Stateless timerLoop

  28. def timerLoopCache[T, S](state: S, stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, S]) ⇒ Unit)(implicit scheduler: Scheduler, queueOrder: QueueOrder[T]): ActorRef[T, S]

    Permalink
  29. def timerLoopCache[T](stashCapacity: Int, weigher: (T) ⇒ Int, interval: FiniteDuration)(execution: (T, Actor[T, Unit]) ⇒ Unit)(implicit scheduler: Scheduler, queueOrder: QueueOrder[T]): ActorRef[T, Unit]

    Permalink
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def wire[T, S](impl: T, state: S)(implicit scheduler: Scheduler): ActorWire[T, S]

    Permalink
  35. def wire[T](impl: T)(implicit scheduler: Scheduler): ActorWire[T, Unit]

    Permalink
  36. def wireTimer[T, S](interval: FiniteDuration, stashCapacity: Int, impl: T, state: S)(implicit scheduler: Scheduler): ActorWire[T, S]

    Permalink
  37. def wireTimer[T](interval: FiniteDuration, stashCapacity: Int, impl: T)(implicit scheduler: Scheduler): ActorWire[T, Unit]

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped