Class

redis

SentinelClient

Related Doc: package redis

Permalink

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) 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
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)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val channels: Seq[String]

    Permalink
  6. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef
  9. implicit val executionContext: ExecutionContextExecutor

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

    Permalink
    Definition Classes
    Sentinel
  11. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Sentinel
  15. var host: String

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

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

    Permalink
    Definition Classes
    Sentinel
  18. val log: LoggingAdapter

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

    Permalink
    Definition Classes
    Sentinel
  20. val name: String

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

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

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

    Permalink
  27. val onMessage: (Message) ⇒ Unit

    Permalink
  28. val onNewSentinel: (String, String, Int) ⇒ Unit

    Permalink
  29. val onNewSlave: (String, String, Int) ⇒ Unit

    Permalink
  30. val onSentinelDown: (String, String, Int) ⇒ Unit

    Permalink
  31. val onSlaveDown: (String, String, Int) ⇒ Unit

    Permalink
  32. val password: Option[String]

    Permalink
    Definition Classes
    RedisClientActorLike
  33. var port: Int

    Permalink
    Definition Classes
    SentinelClientRedisClientActorLike
  34. def reconnect(host: String = host, port: Int = port): Unit

    Permalink
    Definition Classes
    RedisClientActorLike
  35. val redisConnection: ActorRef

    Permalink
    Definition Classes
    RedisClientActorLikeActorRequest
  36. val redisPubSubConnection: ActorRef

    Permalink
  37. def resetMaster(pattern: String): Future[Boolean]

    Permalink
    Definition Classes
    Sentinel
  38. def send[T](redisCommand: RedisCommand[_ <: RedisReply, T]): Future[T]

    Permalink
    Definition Classes
    ActorRequest
  39. def slaves(master: String): Future[Seq[Map[String, String]]]

    Permalink
    Definition Classes
    Sentinel
  40. def stop(): Unit

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  42. val system: ActorSystem

    Permalink
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    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