Package org.apache.pekko.cluster.metrics
Class MixMetricsSelector$
java.lang.Object
org.apache.pekko.cluster.metrics.CapacityMetricsSelector
org.apache.pekko.cluster.metrics.MixMetricsSelectorBase
org.apache.pekko.cluster.metrics.MixMetricsSelector$
- All Implemented Interfaces:
Serializable,MetricsSelector
Singleton instance of the default MixMetricsSelector, which uses [org.apache.pekko.cluster.routing.HeapMetricsSelector],
[org.apache.pekko.cluster.routing.CpuMetricsSelector], and [org.apache.pekko.cluster.routing.SystemLoadAverageMetricsSelector]
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MixMetricsSelector$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors) MetricsSelector that combines other selectors and aggregates their capacity values.Java API: get the default singleton instancescala.Option<scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>>Methods inherited from class org.apache.pekko.cluster.metrics.MixMetricsSelectorBase
capacityMethods inherited from class org.apache.pekko.cluster.metrics.CapacityMetricsSelector
weights, weights
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
MixMetricsSelector$
public MixMetricsSelector$()
-
-
Method Details
-
getInstance
Java API: get the default singleton instance -
apply
public MixMetricsSelector apply(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors) MetricsSelector that combines other selectors and aggregates their capacity values. By default it uses [org.apache.pekko.cluster.routing.HeapMetricsSelector], [org.apache.pekko.cluster.routing.CpuMetricsSelector], and [org.apache.pekko.cluster.routing.SystemLoadAverageMetricsSelector] -
unapply
public scala.Option<scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>> unapply(MixMetricsSelector x$0)
-