trait NodeMBean extends AnyRef
The specification of the MBean about a ReactiveMongo node.
Instances will be registered with names of the form
org.reactivemongo.{supervisor}.{connection}:type=Node,name={host}-{port}
.
- Alphabetic
- By Inheritance
- NodeMBean
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def getAliases(): String
The aliases of the node.
The aliases of the node.
- returns
the node aliases as comma separated string
- abstract def getAuthenticated(): Int
The number of authenticated connections for this node.
The number of authenticated connections for this node.
- returns
the count of authenticated connections
- See also
#getConnections()
- abstract def getConnected(): Int
The number of connected channels (established connections) for this node.
The number of connected channels (established connections) for this node.
- returns
the connected count
- See also
#getConnections()
- abstract def getConnection(): String
The name of the connection pool.
The name of the connection pool.
- returns
The connection name
- abstract def getConnections(): Int
The number of connections managed for this node.
The number of connections managed for this node.
- returns
the connection count
- abstract def getHost(): String
The name of the node host.
The name of the node host.
- returns
the node hostname
- abstract def getName(): String
The name of the node.
The name of the node.
- returns
the node name
- abstract def getPingInfo(): String
The information about the node ping.
The information about the node ping.
- returns
the string representation of the node ping
- abstract def getPort(): Int
The MongoDB port on the node.
The MongoDB port on the node.
- returns
the node port
- abstract def getProtocolMetadata(): String
The protocol metadata for the node connections.
The protocol metadata for the node connections.
- returns
the string representation of the protocol metadata
- abstract def getStatus(): String
The status of the node.
The status of the node.
- returns
the string representation of the node status
- See also
reactivemongo.core.nodeset.NodeStatus
- abstract def getSupervisor(): String
The name of the pool supervisor.
The name of the pool supervisor.
- returns
The supervisor name
- abstract def getTags(): String
The tags for this node.
The tags for this node.
- returns
the string representation of the node tags, or null if node
- abstract def isMongos(): Boolean
Indicates whether the node is a Mongos one.
Indicates whether the node is a Mongos one.
- returns
true if the node is mongos, otherwise false
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (NodeMBean, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (NodeMBean) => Boolean, msg: => Any): NodeMBean
- def ensuring(cond: (NodeMBean) => Boolean): NodeMBean
- def ensuring(cond: Boolean, msg: => Any): NodeMBean
- def ensuring(cond: Boolean): NodeMBean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
Deprecated Value Members
- def →[B](y: B): (NodeMBean, B)
- Implicit
- This member is added by an implicit conversion from NodeMBean toArrowAssoc[NodeMBean] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.