Packages

c

redis

SentinelClient

case class SentinelClient(host: String = "localhost", port: Int = 26379, onMasterChange: (String, String, Int) => Unit = (masterName: String, ip: String, port: Int) => {}, onNewSentinel: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, onSentinelDown: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, onNewSlave: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, onSlaveDown: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, name: String = "SentinelClient")(implicit _system: ActorSystem, redisDispatcher: RedisDispatcher = Redis.dispatcher) extends RedisClientActorLike with SentinelCommands with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SentinelClient
  2. Serializable
  3. Product
  4. Equals
  5. SentinelCommands
  6. Sentinel
  7. Request
  8. RedisClientActorLike
  9. ActorRequest
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SentinelClient(host: String = "localhost", port: Int = 26379, onMasterChange: (String, String, Int) => Unit = (masterName: String, ip: String, port: Int) => {}, onNewSentinel: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, onSentinelDown: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, onNewSlave: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, onSlaveDown: (String, String, Int) => Unit = (masterName: String, sentinelip: String, sentinelport: Int) => {}, name: String = "SentinelClient")(implicit _system: ActorSystem, redisDispatcher: RedisDispatcher = Redis.dispatcher)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val channels: Seq[String]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val db: Option[Int]
    Definition Classes
    RedisClientActorLike
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. implicit val executionContext: MessageDispatcher
    Definition Classes
    RedisClientActorLikeActorRequest
  10. def failover(master: String): Future[Boolean]
    Definition Classes
    Sentinel
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getConnectOperations: () => Seq[Operation[_, _]]
    Definition Classes
    RedisClientActorLike
  13. def getMasterAddr(master: String): Future[Option[(String, Int)]]
    Definition Classes
    Sentinel
  14. var host: String
    Definition Classes
    SentinelClientRedisClientActorLike
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isMasterDown(master: String): Future[Option[Boolean]]
    Definition Classes
    Sentinel
  17. val log: LoggingAdapter
  18. def masters(): Future[Seq[Map[String, String]]]
    Definition Classes
    Sentinel
  19. val name: String
    Definition Classes
    SentinelClientRedisClientActorLike
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def onConnect(redis: RedisCommands): Unit
    Definition Classes
    RedisClientActorLike
  24. def onConnectStatus: (Boolean) => Unit
    Definition Classes
    RedisClientActorLike
  25. val onMasterChange: (String, String, Int) => Unit
  26. val onMessage: (Message) => Unit
  27. val onNewSentinel: (String, String, Int) => Unit
  28. val onNewSlave: (String, String, Int) => Unit
  29. val onSentinelDown: (String, String, Int) => Unit
  30. val onSlaveDown: (String, String, Int) => Unit
  31. val password: Option[String]
    Definition Classes
    RedisClientActorLike
  32. var port: Int
    Definition Classes
    SentinelClientRedisClientActorLike
  33. def productElementNames: Iterator[String]
    Definition Classes
    Product
  34. def reconnect(host: String = host, port: Int = port): Unit
    Definition Classes
    RedisClientActorLike
  35. val redisConnection: ActorRef
    Definition Classes
    RedisClientActorLikeActorRequest
  36. val redisPubSubConnection: ActorRef
  37. def resetMaster(pattern: String): Future[Boolean]
    Definition Classes
    Sentinel
  38. def send[T](redisCommand: RedisCommand[_ <: RedisReply, T]): Future[T]
    Definition Classes
    ActorRequest
  39. def slaves(master: String): Future[Seq[Map[String, String]]]
    Definition Classes
    Sentinel
  40. def stop(): Unit

    Disconnect from the server (stop the actors)

    Disconnect from the server (stop the actors)

    Definition Classes
    SentinelClientRedisClientActorLike
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. val system: ActorSystem
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SentinelCommands

Inherited from Sentinel

Inherited from Request

Inherited from RedisClientActorLike

Inherited from ActorRequest

Inherited from AnyRef

Inherited from Any

Ungrouped