Package akka.cluster.metrics
Class MixMetricsSelector$
- java.lang.Object
-
- akka.cluster.metrics.CapacityMetricsSelector
-
- akka.cluster.metrics.MixMetricsSelectorBase
-
- akka.cluster.metrics.MixMetricsSelector$
-
- All Implemented Interfaces:
MetricsSelector
,java.io.Serializable
public class MixMetricsSelector$ extends MixMetricsSelectorBase
Singleton instance of the default MixMetricsSelector, which uses [akka.cluster.routing.HeapMetricsSelector], [akka.cluster.routing.CpuMetricsSelector], and [akka.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 akka.cluster.metrics.MixMetricsSelectorBase
capacity
-
Methods inherited from class akka.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 [akka.cluster.routing.HeapMetricsSelector], [akka.cluster.routing.CpuMetricsSelector], and [akka.cluster.routing.SystemLoadAverageMetricsSelector]
-
unapply
public scala.Option<scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>> unapply(MixMetricsSelector x$0)
-
-