swaydb
Actor
Related Docs:
object Actor
|
package swaydb
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
TestActor
Ordering
Alphabetic
By Inheritance
Inherited
Actor
LazyLogging
ActorRef
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
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
executionContext:
ExecutionContext
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
ask
[
R
,
X
[
_
]
]
(
message: (
ActorRef
[
R
,
Unit
]) ⇒
T
,
delay:
FiniteDuration
)
(
implicit
scheduler:
Scheduler
,
tag:
Async
[
X
]
)
:
Task
[
R
,
X
]
Definition Classes
Actor
→
ActorRef
def
ask
[
R
,
X
[
_
]
]
(
message: (
ActorRef
[
R
,
Unit
]) ⇒
T
)
(
implicit
tag:
Async
[
X
]
)
:
X
[
R
]
Definition Classes
Actor
→
ActorRef
def
clear
()
:
Unit
Definition Classes
Actor
→
ActorRef
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
implicit
val
executionContext
:
ExecutionContext
Definition Classes
Actor
→
ActorRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasMessages
:
Boolean
Definition Classes
ActorRef
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isTerminated
:
Boolean
Definition Classes
Actor
→
ActorRef
lazy val
logger
:
Logger
Attributes
protected
Definition Classes
LazyLogging
def
messageCount
:
Int
Definition Classes
Actor
→
ActorRef
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
recover
[
M <:
T
,
E
]
(
f: (
M
,
IO
[
E
,
Actor.Error
],
Actor
[
T
,
S
]) ⇒
Unit
)
(
implicit
arg0:
ExceptionHandler
[
E
]
)
:
ActorRef
[
T
,
S
]
Definition Classes
Actor
→
ActorRef
def
recoverException
[
M <:
T
]
(
f: (
M
,
IO
[
Throwable
,
Actor.Error
],
Actor
[
T
,
S
]) ⇒
Unit
)
:
ActorRef
[
T
,
S
]
Definition Classes
ActorRef
def
send
(
message:
T
)
:
Unit
Definition Classes
Actor
→
ActorRef
def
send
(
message:
T
,
delay:
FiniteDuration
)
(
implicit
scheduler:
Scheduler
)
:
TimerTask
Sends a message to this actor with delay
Sends a message to this actor with delay
Definition Classes
Actor
→
ActorRef
val
state
:
S
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
terminate
()
:
Unit
Definition Classes
Actor
→
ActorRef
def
terminateAndClear
()
:
Unit
Definition Classes
Actor
→
ActorRef
def
terminateAndRecover
[
M <:
T
,
E
]
(
f: (
M
,
IO
[
E
,
Actor.Error
],
Actor
[
T
,
S
]) ⇒
Unit
)
(
implicit
arg0:
ExceptionHandler
[
E
]
)
:
ActorRef
[
T
,
S
]
Definition Classes
Actor
→
ActorRef
def
terminateAndRecoverException
[
M <:
T
]
(
function: (
M
,
IO
[
Throwable
,
Actor.Error
],
Actor
[
T
,
S
]) ⇒
Unit
)
:
ActorRef
[
T
,
S
]
Definition Classes
ActorRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
totalWeight
:
Int
Definition Classes
Actor
→
ActorRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
LazyLogging
Inherited from
ActorRef
[
T
,
S
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped