final class Metadata extends AnyRef
Information about a load balancer.
This class is thread-safe and while the class itself is immutable, it proxies data from a Balancer which may be mutable.
- See also
TwitterServer's "/admin/balancers.json" admin endpoint.
- Alphabetic
- By Inheritance
- Metadata
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def additionalInfo: Map[String, Any]
Any additional metadata specific to a balancer implementation.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def balancerClass: String
The class name of the balancer implementation.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- 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
- val label: String
- 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()
- def numAvailable: Int
How many nodes are available to receive traffic.
How many nodes are available to receive traffic. E.g. not Busy or Closed
- def numBusy: Int
How many nodes have a Busy status
- def numClosed: Int
How many nodes have a Closed status
- def panicMode: String
What percent of nodes (in the aperture) can be unhealthy before panic mode is enabled for a request
- def size: Int
How many nodes are being balanced across
- def status: String
The status of the underlying balancer.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Metadata → AnyRef → Any
- def totalLoad: Double
The total load across all nodes.
The total load across all nodes.
Load is a balancer implementation specific construct.
- def totalPending: Int
The total number of pending requests across all nodes.
- 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()