redis
RedisPubSub
Related Doc:
package redis
case class
RedisPubSub
(
host:
String
=
"localhost"
,
port:
Int
=
6379
,
channels:
Seq
[
String
]
,
patterns:
Seq
[
String
]
,
onMessage: (
Message
) ⇒
Unit
=
_ => {}
,
onPMessage: (
PMessage
) ⇒
Unit
=
_ => {}
,
authPassword:
Option
[
String
] =
None
,
name:
String
=
"RedisPubSub"
)
(
implicit
system:
ActorRefFactory
)
extends
Product
with
Serializable
Source
Redis.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
RedisPubSub
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
RedisPubSub
(
host:
String
=
"localhost"
,
port:
Int
=
6379
,
channels:
Seq
[
String
]
,
patterns:
Seq
[
String
]
,
onMessage: (
Message
) ⇒
Unit
=
_ => {}
,
onPMessage: (
PMessage
) ⇒
Unit
=
_ => {}
,
authPassword:
Option
[
String
] =
None
,
name:
String
=
"RedisPubSub"
)
(
implicit
system:
ActorRefFactory
)
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
val
authPassword
:
Option
[
String
]
val
channels
:
Seq
[
String
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
host
:
String
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
name
:
String
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onConnectStatus
()
: (
Boolean
) ⇒
Unit
val
onMessage
: (
Message
) ⇒
Unit
val
onPMessage
: (
PMessage
) ⇒
Unit
val
patterns
:
Seq
[
String
]
val
port
:
Int
def
psubscribe
(
patterns:
String
*
)
:
Unit
def
punsubscribe
(
patterns:
String
*
)
:
Unit
val
redisConnection
:
ActorRef
def
stop
()
:
Unit
Disconnect from the server (stop the actor)
def
subscribe
(
channels:
String
*
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
unsubscribe
(
channels:
String
*
)
:
Unit
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped