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 = ..., name: String = "SentinelClient")(implicit _system: ActorSystem) extends RedisClientActorLike with SentinelCommands with Product with Serializable

Source
Sentinel.scala
Linear Supertypes
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
Learn more about member selection
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 = ..., name: String = "SentinelClient")(implicit _system: ActorSystem)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val channels: Seq[String]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val db: Option[Int]

    Definition Classes
    RedisClientActorLike
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. implicit val executionContext: ExecutionContextExecutor

    Definition Classes
    RedisClientActorLikeActorRequest
  12. def failover(master: String): Future[Boolean]

    Definition Classes
    Sentinel
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getConnectOperations: () ⇒ Seq[Operation[_, _]]

    Definition Classes
    RedisClientActorLike
  16. def getMasterAddr(master: String): Future[Option[(String, Int)]]

    Definition Classes
    Sentinel
  17. var host: String

    Definition Classes
    SentinelClientRedisClientActorLike
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isMasterDown(master: String): Future[Option[Boolean]]

    Definition Classes
    Sentinel
  20. val log: LoggingAdapter

  21. def masters(): Future[Seq[Map[String, String]]]

    Definition Classes
    Sentinel
  22. val name: String

    Definition Classes
    SentinelClientRedisClientActorLike
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def onConnect(redis: RedisCommands): Unit

    Definition Classes
    RedisClientActorLike
  27. def onConnectStatus(): (Boolean) ⇒ Unit

    Definition Classes
    RedisClientActorLike
  28. val onMasterChange: (String, String, Int) ⇒ Unit

  29. val onMessage: (Message) ⇒ Unit

  30. val onNewSentinel: (String, String, Int) ⇒ Unit

  31. val onSentinelDown: (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