case class ClusterNode(nodeId: String, server: Server, flags: Seq[String], master: Option[String], pingSent: Long, pongRecv: Long, configEpoch: Long, linkStateConnected: Boolean, slots: Seq[(Long, Long)]) extends Product with Serializable
Information returned by CLUSTER NODES and CLUSTER SLAVES command.
- nodeId
The node ID, a 40 characters random string generated when a node is created and never changed again ( unless CLUSTER RESET HARD is used).
- server
The server (host and port) where clients should contact the node to run queries.
- flags
A list of comma separated flags: myself, master, slave, fail?, fail, handshake, noaddr, noflags.
- master
If the node is a slave, and the master is known, the master node ID, otherwise
None
- pingSent
Milliseconds unix time at which the currently active ping was sent, or zero if there are no pending pings.
- pongRecv
Milliseconds unix time the last pong was received.
- configEpoch
The configuration epoch (or version) of the current node (or of the current master if the node is a slave). Each time there is a failover, a new, unique, monotonically increasing configuration epoch is created. If multiple nodes claim to serve the same hash slots, the one with higher configuration epoch wins.
- linkStateConnected
The state of the link used for the node-to-node cluster bus. We use this link to communicate with the node. True iff connected.
- slots
Slot ranges served by this node.
- Alphabetic
- By Inheritance
- ClusterNode
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ClusterNode(nodeId: String, server: Server, flags: Seq[String], master: Option[String], pingSent: Long, pongRecv: Long, configEpoch: Long, linkStateConnected: Boolean, slots: Seq[(Long, Long)])
- nodeId
The node ID, a 40 characters random string generated when a node is created and never changed again ( unless CLUSTER RESET HARD is used).
- server
The server (host and port) where clients should contact the node to run queries.
- flags
A list of comma separated flags: myself, master, slave, fail?, fail, handshake, noaddr, noflags.
- master
If the node is a slave, and the master is known, the master node ID, otherwise
None
- pingSent
Milliseconds unix time at which the currently active ping was sent, or zero if there are no pending pings.
- pongRecv
Milliseconds unix time the last pong was received.
- configEpoch
The configuration epoch (or version) of the current node (or of the current master if the node is a slave). Each time there is a failover, a new, unique, monotonically increasing configuration epoch is created. If multiple nodes claim to serve the same hash slots, the one with higher configuration epoch wins.
- linkStateConnected
The state of the link used for the node-to-node cluster bus. We use this link to communicate with the node. True iff connected.
- slots
Slot ranges served by this node.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val configEpoch: Long
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flags: Seq[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val linkStateConnected: Boolean
- val master: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeId: String
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pingSent: Long
- val pongRecv: Long
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val server: Server
- val slots: Seq[(Long, Long)]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()