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:
java.io.Serializable
,MetricsSelector
public class MixMetricsSelector$ extends MixMetricsSelectorBase
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static MixMetricsSelector$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description MixMetricsSelector$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MixMetricsSelector
apply(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)
MetricsSelector that combines other selectors and aggregates their capacity values.MixMetricsSelector$
getInstance()
Java API: get the default singleton instancescala.Option<scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>>
unapply(MixMetricsSelector x$0)
-
Methods inherited from class org.apache.pekko.cluster.metrics.MixMetricsSelectorBase
capacity
-
Methods inherited from class org.apache.pekko.cluster.metrics.CapacityMetricsSelector
weights, weights
-
-
-
-
Field Detail
-
MODULE$
public static final MixMetricsSelector$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
getInstance
public MixMetricsSelector$ 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)
-
-