Class/Object

swaydb

Actor

Related Docs: object Actor | package swaydb

Permalink

class Actor[-T, S] extends ActorRef[T, S] with LazyLogging

Self Type
Actor[T, S]
Linear Supertypes
LazyLogging, ActorRef[T, S], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Actor
  2. LazyLogging
  3. ActorRef
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Actor(state: S, queue: ActorQueue[(T, Int)], stashCapacity: Int, weigher: (T) ⇒ Int, cached: Boolean, execution: (T, Actor[T, S]) ⇒ Unit, interval: Option[Interval], recovery: Option[(T, IO[Throwable, Actor.Error], Actor[T, S]) ⇒ Unit])(implicit ec: ExecutionContext)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ask[R, X[_]](message: (ActorRef[R, Unit]) ⇒ T, delay: FiniteDuration)(implicit scheduler: Scheduler, tag: Async[X]): Task[R, X]

    Permalink
    Definition Classes
    ActorActorRef
  6. def ask[R, X[_]](message: (ActorRef[R, Unit]) ⇒ T)(implicit tag: Async[X]): X[R]

    Permalink
    Definition Classes
    ActorActorRef
  7. def clear(): Unit

    Permalink
    Definition Classes
    ActorActorRef
  8. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def hasMessages: Boolean

    Permalink
    Definition Classes
    ActorRef
  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. def isTerminated: Boolean

    Permalink
    Definition Classes
    ActorActorRef
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  17. def messageCount: Int

    Permalink
    Definition Classes
    ActorActorRef
  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. def recover[M <: T, E](f: (M, IO[E, Actor.Error], Actor[T, S]) ⇒ Unit)(implicit arg0: ExceptionHandler[E]): ActorRef[T, S]

    Permalink
    Definition Classes
    ActorActorRef
  22. def recoverException[M <: T](f: (M, IO[Throwable, Actor.Error], Actor[T, S]) ⇒ Unit): ActorRef[T, S]

    Permalink
    Definition Classes
    ActorRef
  23. def send(message: T): Unit

    Permalink
    Definition Classes
    ActorActorRef
  24. def send(message: T, delay: FiniteDuration)(implicit scheduler: Scheduler): TimerTask

    Permalink

    Sends a message to this actor with delay

    Sends a message to this actor with delay

    Definition Classes
    ActorActorRef
  25. val state: S

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def terminate(): Unit

    Permalink
    Definition Classes
    ActorActorRef
  28. def terminateAndClear(): Unit

    Permalink
    Definition Classes
    ActorActorRef
  29. def terminateAndRecover[M <: T, E](f: (M, IO[E, Actor.Error], Actor[T, S]) ⇒ Unit)(implicit arg0: ExceptionHandler[E]): ActorRef[T, S]

    Permalink
    Definition Classes
    ActorActorRef
  30. def terminateAndRecoverException[M <: T](f: (M, IO[Throwable, Actor.Error], Actor[T, S]) ⇒ Unit): ActorRef[T, S]

    Permalink
    Definition Classes
    ActorRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def totalWeight: Int

    Permalink
    Definition Classes
    ActorActorRef
  33. final def wait(arg0: Long, arg1: Int): Unit

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

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

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

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 LazyLogging

Inherited from ActorRef[T, S]

Inherited from AnyRef

Inherited from Any

Ungrouped