redis
SentinelMonitoredRedisBlockingClient
case class
SentinelMonitoredRedisBlockingClient
(
sentinels:
Seq
[(
String
,
Int
)] =
...
,
master:
String
)
(
implicit
system:
ActorSystem
)
extends
SentinelMonitoredRedisClientLike
with
BLists
with
Product
with
Serializable
Source
Redis.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
BLists
,
Request
,
SentinelMonitoredRedisClientLike
,
ActorRequest
,
SentinelMonitored
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
SentinelMonitoredRedisBlockingClient
Serializable
Serializable
Product
Equals
BLists
Request
SentinelMonitoredRedisClientLike
ActorRequest
SentinelMonitored
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
SentinelMonitoredRedisBlockingClient
(
sentinels:
Seq
[(
String
,
Int
)] =
...
,
master:
String
)
(
implicit
system:
ActorSystem
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
blpop
[
R
]
(
keys:
Seq
[
String
]
,
timeout:
FiniteDuration
=
Duration.Zero
)
(
implicit
arg0:
ByteStringDeserializer
[
R
]
)
:
Future
[
Option
[(
String
,
R
)]]
Definition Classes
BLists
def
brpop
[
R
]
(
keys:
Seq
[
String
]
,
timeout:
FiniteDuration
=
Duration.Zero
)
(
implicit
arg0:
ByteStringDeserializer
[
R
]
)
:
Future
[
Option
[(
String
,
R
)]]
Definition Classes
BLists
def
brpopplush
[
R
]
(
source:
String
,
destination:
String
,
timeout:
FiniteDuration
=
Duration.Zero
)
(
implicit
arg0:
ByteStringDeserializer
[
R
]
)
:
Future
[
Option
[
R
]]
Definition Classes
BLists
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
implicit
val
executionContext
:
ExecutionContextExecutor
Definition Classes
SentinelMonitored
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
makeSentinelClient
(
host:
String
,
port:
Int
)
:
SentinelClient
Definition Classes
SentinelMonitored
def
makeSentinelClientKey
(
host:
String
,
port:
Int
)
:
String
Definition Classes
SentinelMonitored
val
master
:
String
Definition Classes
SentinelMonitoredRedisBlockingClient
→
SentinelMonitored
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
onMasterChange
: (
String
,
Int
) ⇒
Unit
Definition Classes
SentinelMonitoredRedisClientLike
→
SentinelMonitored
def
onNewSentinel
(
masterName:
String
,
sentinelip:
String
,
sentinelport:
Int
)
:
Unit
Definition Classes
SentinelMonitored
def
onSentinelDown
(
masterName:
String
,
sentinelip:
String
,
sentinelport:
Int
)
:
Unit
Definition Classes
SentinelMonitored
def
onSwitchMaster
(
masterName:
String
,
ip:
String
,
port:
Int
)
:
Unit
Definition Classes
SentinelMonitored
val
redisClient
:
RedisBlockingClient
Definition Classes
SentinelMonitoredRedisBlockingClient
→
SentinelMonitoredRedisClientLike
def
redisConnection
:
ActorRef
Definition Classes
SentinelMonitoredRedisClientLike
→
ActorRequest
def
send
[
T
]
(
redisCommand:
RedisCommand
[_ <:
RedisReply
,
T
]
)
:
Future
[
T
]
Definition Classes
ActorRequest
val
sentinelClients
:
Map
[
String
,
SentinelClient
]
Definition Classes
SentinelMonitored
val
sentinels
:
Seq
[(
String
,
Int
)]
Definition Classes
SentinelMonitoredRedisBlockingClient
→
SentinelMonitored
def
stop
()
:
Unit
Disconnect from the server (stop the actors)
Disconnect from the server (stop the actors)
Definition Classes
SentinelMonitoredRedisClientLike
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
withMasterAddr
[
T
]
(
initFunction: (
String
,
Int
) ⇒
T
)
:
T
Definition Classes
SentinelMonitored
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
BLists
Inherited from
Request
Inherited from
SentinelMonitoredRedisClientLike
Inherited from
ActorRequest
Inherited from
SentinelMonitored
Inherited from
AnyRef
Inherited from
Any
Ungrouped