Class/Object

com.twitter.finagle.redis

SentinelClient

Related Docs: object SentinelClient | package redis

Permalink

class SentinelClient extends BaseClient with SentinelCommands with ServerCommands

Linear Supertypes
ServerCommands, BasicServerCommands, SentinelCommands, BaseClient, Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SentinelClient
  2. ServerCommands
  3. BasicServerCommands
  4. SentinelCommands
  5. BaseClient
  6. Closable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SentinelClient(factory: ServiceFactory[Command, Reply])

    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. def ckQuorum(name: String): Future[String]

    Permalink

    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.

    Definition Classes
    SentinelCommands
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(deadline: Time): Future[Unit]

    Permalink

    Releases underlying service factory object

    Releases underlying service factory object

    Definition Classes
    BaseClient → Closable
  8. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  9. final def close(): Future[Unit]

    Permalink
    Definition Classes
    Closable
  10. def dbSize(): Future[Long]

    Permalink
    Definition Classes
    ServerCommands
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. val factory: ServiceFactory[Command, Reply]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseClient
  14. def failover(name: String): Future[Unit]

    Permalink

    Force a failover.

    Force a failover.

    Definition Classes
    SentinelCommands
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flushAll(): Future[Unit]

    Permalink

    Deletes all keys in all databases

    Deletes all keys in all databases

    Definition Classes
    ServerCommands
  17. def flushConfig(): Future[Unit]

    Permalink

    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.

    Definition Classes
    SentinelCommands
  18. def flushDB(): Future[Unit]

    Permalink

    Deletes all keys in current DB

    Deletes all keys in current DB

    Definition Classes
    ServerCommands
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getMasterAddrByName(name: String): Future[Option[InetSocketAddress]]

    Permalink

    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.

    Definition Classes
    SentinelCommands
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def info(section: Buf): Future[Option[Buf]]

    Permalink

    Returns information and statistics about the server

    Returns information and statistics about the server

    section

    used to select a specific section of information.

    returns

    a collection of \r\n terminated lines if server has info on the section

    Definition Classes
    BasicServerCommands
  23. def info(): Future[Option[Buf]]

    Permalink

    Returns information and statistics about the server

    Returns information and statistics about the server

    returns

    Buf with collection of \r\n terminated lines of the default info section

    Definition Classes
    BasicServerCommands
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def master(name: String): Future[MasterNode]

    Permalink

    Show the state and info of the specified master.

    Show the state and info of the specified master.

    Definition Classes
    SentinelCommands
  26. def masters(): Future[Seq[MasterNode]]

    Permalink

    Show a list of monitored masters and their state.

    Show a list of monitored masters and their state.

    Definition Classes
    SentinelCommands
  27. def monitor(name: String, ip: String, port: Int, quorum: Int): Future[Unit]

    Permalink

    Tells the Sentinel to start monitoring a new master with the specified name, ip, port, and quorum.

    Tells the Sentinel to start monitoring a new master with the specified name, ip, port, and quorum.

    Definition Classes
    SentinelCommands
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def remove(name: String): Future[Unit]

    Permalink

    Remove the specified master.

    Remove the specified master.

    Definition Classes
    SentinelCommands
  32. def reset(pattern: String): Future[Unit]

    Permalink

    Reset all the masters with matching name.

    Reset all the masters with matching name.

    Definition Classes
    SentinelCommands
  33. def sentinels(name: String): Future[List[SentinelNode]]

    Permalink

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

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

    Definition Classes
    SentinelCommands
  34. def set(name: String, option: String, value: String): Future[Unit]

    Permalink

    Change configuration parameters of a specific master.

    Change configuration parameters of a specific master.

    Definition Classes
    SentinelCommands
  35. def slaveOf(host: Buf, port: Buf): Future[Unit]

    Permalink
    Definition Classes
    ServerCommands
  36. def slaves(name: String): Future[List[SlaveNode]]

    Permalink

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

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

    Definition Classes
    SentinelCommands
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

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

Inherited from ServerCommands

Inherited from BasicServerCommands

Inherited from SentinelCommands

Inherited from BaseClient

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped