redis
.
actors
RedisWorkerIO
Related Doc:
package actors
abstract
class
RedisWorkerIO
extends
Actor
with
ActorLogging
Source
RedisWorkerIO.scala
Linear Supertypes
ActorLogging
,
Actor
,
AnyRef
,
Any
Known Subclasses
RedisClientActor
,
RedisSubscriberActor
,
RedisSubscriberActorWithCallback
Ordering
Alphabetic
By inheritance
Inherited
RedisWorkerIO
ActorLogging
Actor
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
RedisWorkerIO
(
address:
InetSocketAddress
,
onConnectStatus: (
Boolean
) ⇒
Unit
)
Type Members
type
Receive
=
PartialFunction
[
Any
,
Unit
]
Definition Classes
Actor
Abstract Value Members
abstract
def
onClosingConnectionClosed
()
:
Unit
abstract
def
onConnectWrite
()
:
ByteString
abstract
def
onConnectionClosed
()
:
Unit
abstract
def
onDataReceived
(
dataByteString:
ByteString
)
:
Unit
abstract
def
onDataReceivedOnClosingConnection
(
dataByteString:
ByteString
)
:
Unit
abstract
def
onWriteSent
()
:
Unit
abstract
def
writing
:
Receive
Concrete 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
val
address
:
InetSocketAddress
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
def
cleanState
()
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
connected
:
Receive
def
connecting
:
Receive
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
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
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
def
onAddressChanged
(
addr:
InetSocketAddress
)
:
Unit
def
onConnected
(
cmd:
Connected
)
:
Unit
def
onConnectedCommandFailed
(
commandFailed:
CommandFailed
)
:
Unit
O/S buffer was full Maybe to much data in the Command ?
def
onConnectingCommandFailed
(
cmdFailed:
CommandFailed
)
:
Unit
def
onConnectionClosed
(
c:
ConnectionClosed
)
:
Unit
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
readyToWrite
:
Boolean
def
receive
:
PartialFunction
[
Any
,
Unit
]
Definition Classes
RedisWorkerIO
→ Actor
def
reconnect
()
:
Unit
def
reconnectDuration
:
FiniteDuration
def
restartConnection
()
:
Unit
def
scheduleReconnect
()
:
Unit
implicit final
val
self
:
ActorRef
Definition Classes
Actor
final
def
sender
()
:
ActorRef
Definition Classes
Actor
def
supervisorStrategy
:
SupervisorStrategy
Definition Classes
Actor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tcp
:
ActorRef
var
tcpWorker
:
ActorRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
tryInitialWrite
()
:
Unit
def
tryWrite
()
:
Unit
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
Inherited from
ActorLogging
Inherited from
Actor
Inherited from
AnyRef
Inherited from
Any
Ungrouped