Packages

c

vertices.redis.client

VertxRedisSentinelOps

implicit final class VertxRedisSentinelOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VertxRedisSentinelOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new VertxRedisSentinelOps(target: RedisSentinel)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def ckquorumL(name: String): Task[String]

    Check if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover.

    Check if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover. This command should be used in monitoring systems to check if a Sentinel deployment is ok.

    name

    master name

  6. def closeL(): Task[Unit]

    Close the client - when it is fully closed the handler will be called.

  7. def failoverL(name: String): Task[String]

    Force a failover as if the master was not reachable, and without asking for agreement to other Sentinels (however a new version of the configuration will be published so that the other Sentinels will update their configurations)

    Force a failover as if the master was not reachable, and without asking for agreement to other Sentinels (however a new version of the configuration will be published so that the other Sentinels will update their configurations)

    name

    master name

  8. def flushConfigL(): Task[Unit]

    Force Sentinel to rewrite its configuration on disk, including the current Sentinel state.

    Force Sentinel to rewrite its configuration on disk, including the current Sentinel state. Normally Sentinel rewrites the configuration every time something changes in its state (in the context of the subset of the state which is persisted on disk across restart). However sometimes it is possible that the configuration file is lost because of operation errors, disk failures, package upgrade scripts or configuration managers. In those cases a way to to force Sentinel to rewrite the configuration file is handy. This command works even if the previous configuration file is completely missing.

  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. def getMasterAddrByNameL(name: String): Task[JsonArray]

    Return the ip and port number of the master with that name.

    Return the ip and port number of the master with that name. If a failover is in progress or terminated successfully for this master it returns the address and port of the promoted slave

    name

    master name

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def masterL(name: String): Task[JsonArray]

    Show the state and info of the specified master

    Show the state and info of the specified master

    name

    master name

  13. def mastersL(): Task[JsonArray]

    Show a list of monitored masters and their state

  14. def resetL(pattern: String): Task[Unit]

    Reset all the masters with matching name.

    Reset all the masters with matching name. The pattern argument is a glob-style pattern. The reset process clears any previous state in a master (including a failover in pro

    pattern

    pattern String

  15. def sentinelsL(name: String): Task[JsonArray]

    Show a list of sentinel instances for this master, and their state

    Show a list of sentinel instances for this master, and their state

    name

    master name

  16. def slavesL(name: String): Task[JsonArray]

    Show a list of slaves for this master, and their state

    Show a list of slaves for this master, and their state

    name

    master name

  17. val target: RedisSentinel
  18. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped