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
Redis.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, SentinelCommands, Sentinel, Request, RedisClientActorLike, ActorRequest, AnyRef, Any
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: ExecutionContext

    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(masterIp: String, port: Int): 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. val onMasterChange: (String, String, Int) ⇒ Unit

  28. val onMessage: (Message) ⇒ Unit

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

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

  31. val password: Option[String]

    Definition Classes
    RedisClientActorLike
  32. var port: Int

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

    Definition Classes
    RedisClientActorLike
  34. val redisConnection: ActorRef

    Definition Classes
    RedisClientActorLikeActorRequest
  35. val redisPubSubConnection: ActorRef

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

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

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

    Definition Classes
    Sentinel
  39. def stop(): Unit

    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

    Definition Classes
    AnyRef
  41. val system: ActorSystem

  42. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. 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