o

akka.cluster.metrics

HeapMetricsSelector

object HeapMetricsSelector extends CapacityMetricsSelector with Product with Serializable

MetricsSelector that uses the heap metrics. Low heap capacity => small weight.

Annotations
@SerialVersionUID()
Source
ClusterMetricsRouting.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeapMetricsSelector
  2. Product
  3. Equals
  4. CapacityMetricsSelector
  5. MetricsSelector
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def capacity(nodeMetrics: Set[NodeMetrics]): Map[Address, Double]

    Remaining capacity for each node.

    Remaining capacity for each node. The value is between 0.0 and 1.0, where 0.0 means no remaining capacity (full utilization) and 1.0 means full remaining capacity (zero utilization).

    Definition Classes
    HeapMetricsSelectorCapacityMetricsSelector
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getInstance: HeapMetricsSelector.type

    Java API: get the singleton instance

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def weights(nodeMetrics: Set[NodeMetrics]): Map[Address, Int]

    The weights per address, based on the capacity produced by the nodeMetrics.

    The weights per address, based on the capacity produced by the nodeMetrics.

    Definition Classes
    CapacityMetricsSelectorMetricsSelector
  20. def weights(capacity: Map[Address, Double]): Map[Address, Int]

    Converts the capacity values to weights.

    Converts the capacity values to weights. The node with lowest capacity gets weight 1 (lowest usable capacity is 1%) and other nodes gets weights proportional to their capacity compared to the node with lowest capacity.

    Definition Classes
    CapacityMetricsSelector

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from CapacityMetricsSelector

Inherited from MetricsSelector

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped