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, redisDispatcher: RedisDispatcher = Redis.dispatcher) 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, redisDispatcher: RedisDispatcher = Redis.dispatcher)

    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
    @HotSpotIntrinsicCandidate() @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: MessageDispatcher

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

    Permalink
    Definition Classes
    Sentinel
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def getConnectOperations: () ⇒ Seq[Operation[_, _]]

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

    Permalink
    Definition Classes
    Sentinel
  14. var host: String

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

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

    Permalink
    Definition Classes
    Sentinel
  17. val log: LoggingAdapter

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

    Permalink
    Definition Classes
    Sentinel
  19. val name: String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def onConnect(redis: RedisCommands): Unit

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

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

    Permalink
  26. val onMessage: (Message) ⇒ Unit

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

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

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

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

    Permalink
  31. val password: Option[String]

    Permalink
    Definition Classes
    RedisClientActorLike
  32. var port: Int

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

    Permalink
    Definition Classes
    RedisClientActorLike
  34. val redisConnection: ActorRef

    Permalink
    Definition Classes
    RedisClientActorLikeActorRequest
  35. val redisPubSubConnection: ActorRef

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

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

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

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

    Permalink

    Disconnect from the server (stop the actors)

    Disconnect from the server (stop the actors)

    Definition Classes
    SentinelClientRedisClientActorLike
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. val system: ActorSystem

    Permalink
  42. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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