redis
.
actors
RedisClientActor
class
RedisClientActor
extends
RedisWorkerIO
Source
RedisClientActor.scala
Linear Supertypes
RedisWorkerIO
,
ActorLogging
,
Actor
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
RedisClientActor
RedisWorkerIO
ActorLogging
Actor
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
RedisClientActor
(
address:
InetSocketAddress
,
getConnectOperations: () ⇒
Seq
[
Operation
[_, _]]
)
Type Members
type
Receive
=
PartialFunction
[
Any
,
Unit
]
Definition Classes
Actor
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
address
:
InetSocketAddress
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
aroundPostRestart
(
reason:
Throwable
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPostStop
()
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPreRestart
(
reason:
Throwable
,
message:
Option
[
Any
]
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPreStart
()
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundReceive
(
receive:
akka.actor.Actor.Receive
,
msg:
Any
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
bufferWrite
:
ByteStringBuilder
Definition Classes
RedisWorkerIO
def
cleanState
()
:
Unit
Definition Classes
RedisWorkerIO
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
connected
:
Receive
Definition Classes
RedisWorkerIO
def
connecting
:
Receive
Definition Classes
RedisWorkerIO
implicit
val
context
:
ActorContext
Definition Classes
Actor
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
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
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
initConnectedBuffer
()
:
Unit
Definition Classes
RedisWorkerIO
def
initRepliesDecoder
()
:
ActorRef
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
killOldRepliesDecoder
()
:
Unit
def
log
:
LoggingAdapter
Definition Classes
ActorLogging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
oldRepliesDecoder
:
Option
[
ActorRef
]
def
onAddressChanged
(
addr:
InetSocketAddress
)
:
Unit
Definition Classes
RedisWorkerIO
def
onClosingConnectionClosed
()
:
Unit
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
onConnectWrite
()
:
ByteString
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
onConnected
(
cmd:
Connected
)
:
Unit
Definition Classes
RedisWorkerIO
def
onConnectedCommandFailed
(
commandFailed:
CommandFailed
)
:
Unit
O/S buffer was full Maybe to much data in the Command ?
O/S buffer was full Maybe to much data in the Command ?
Definition Classes
RedisWorkerIO
def
onConnectingCommandFailed
(
cmdFailed:
CommandFailed
)
:
Unit
Definition Classes
RedisWorkerIO
def
onConnectionClosed
()
:
Unit
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
onConnectionClosed
(
c:
ConnectionClosed
)
:
Unit
Definition Classes
RedisWorkerIO
def
onDataReceived
(
dataByteString:
ByteString
)
:
Unit
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
onDataReceivedOnClosingConnection
(
dataByteString:
ByteString
)
:
Unit
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
onWriteSent
()
:
Unit
Definition Classes
RedisClientActor
→
RedisWorkerIO
def
postRestart
(
reason:
Throwable
)
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
postStop
()
:
Unit
Definition Classes
RedisWorkerIO
→ Actor
def
preRestart
(
reason:
Throwable
,
message:
Option
[
Any
]
)
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
preStart
()
:
Unit
Definition Classes
RedisWorkerIO
→ Actor
var
queuePromises
:
Queue
[
Operation
[_, _]]
var
readyToWrite
:
Boolean
Definition Classes
RedisWorkerIO
def
receive
:
PartialFunction
[
Any
,
Unit
]
Definition Classes
RedisWorkerIO
→ Actor
def
reconnect
()
:
Unit
Definition Classes
RedisWorkerIO
def
reconnectDuration
:
FiniteDuration
Definition Classes
RedisWorkerIO
var
repliesDecoder
:
ActorRef
def
restartConnection
()
:
Unit
Definition Classes
RedisWorkerIO
def
scheduleReconnect
()
:
Unit
Definition Classes
RedisWorkerIO
implicit final
val
self
:
ActorRef
Definition Classes
Actor
final
def
sender
()
:
ActorRef
Definition Classes
Actor
val
supervisorStrategy
:
OneForOneStrategy
Definition Classes
RedisClientActor
→ Actor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tcp
:
ActorRef
Definition Classes
RedisWorkerIO
var
tcpWorker
:
ActorRef
Definition Classes
RedisWorkerIO
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
tryInitialWrite
()
:
Unit
Definition Classes
RedisWorkerIO
def
tryWrite
()
:
Unit
Definition Classes
RedisWorkerIO
def
unhandled
(
message:
Any
)
:
Unit
Definition Classes
Actor
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
(
...
)
def
write
(
byteString:
ByteString
)
:
Unit
Definition Classes
RedisWorkerIO
def
writing
:
Receive
Definition Classes
RedisClientActor
→
RedisWorkerIO
Inherited from
RedisWorkerIO
Inherited from
ActorLogging
Inherited from
Actor
Inherited from
AnyRef
Inherited from
Any
Ungrouped