Packages

c

redis

SentinelClient

case class SentinelClient(host: String = "localhost", port: Int = 26379, onMasterChange: (String, String, Int) ⇒ Unit = ..., onNewSentinel: (String, String, Int) ⇒ Unit = ..., onSentinelDown: (String, String, Int) ⇒ Unit = ..., onNewSlave: (String, String, Int) ⇒ Unit = ..., onSlaveDown: (String, String, Int) ⇒ Unit = ..., 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. Serializable
  4. Product
  5. Equals
  6. SentinelCommands
  7. Sentinel
  8. Request
  9. RedisClientActorLike
  10. ActorRequest
  11. AnyRef
  12. 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 = ..., onNewSentinel: (String, String, Int) ⇒ Unit = ..., onSentinelDown: (String, String, Int) ⇒ Unit = ..., onNewSlave: (String, String, Int) ⇒ Unit = ..., onSlaveDown: (String, String, Int) ⇒ Unit = ..., 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( ... )
  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. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def getConnectOperations: () ⇒ Seq[Operation[_, _]]
    Definition Classes
    RedisClientActorLike
  14. def getMasterAddr(master: String): Future[Option[(String, Int)]]
    Definition Classes
    Sentinel
  15. var host: String
    Definition Classes
    SentinelClientRedisClientActorLike
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isMasterDown(master: String): Future[Option[Boolean]]
    Definition Classes
    Sentinel
  18. val log: LoggingAdapter
  19. def masters(): Future[Seq[Map[String, String]]]
    Definition Classes
    Sentinel
  20. val name: String
    Definition Classes
    SentinelClientRedisClientActorLike
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def onConnect(redis: RedisCommands): Unit
    Definition Classes
    RedisClientActorLike
  25. def onConnectStatus: (Boolean) ⇒ Unit
    Definition Classes
    RedisClientActorLike
  26. val onMasterChange: (String, String, Int) ⇒ Unit
  27. val onMessage: (Message) ⇒ Unit
  28. val onNewSentinel: (String, String, Int) ⇒ Unit
  29. val onNewSlave: (String, String, Int) ⇒ Unit
  30. val onSentinelDown: (String, String, Int) ⇒ Unit
  31. val onSlaveDown: (String, String, Int) ⇒ Unit
  32. val password: Option[String]
    Definition Classes
    RedisClientActorLike
  33. var port: Int
    Definition Classes
    SentinelClientRedisClientActorLike
  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(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. 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 SentinelCommands

Inherited from Sentinel

Inherited from Request

Inherited from RedisClientActorLike

Inherited from ActorRequest

Inherited from AnyRef

Inherited from Any

Ungrouped