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,- scala.Equals,- scala.Product
 
 public final class MixMetricsSelector extends MixMetricsSelectorBase implements scala.Product, java.io.Serializable - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MixMetricsSelector(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MixMetricsSelectorapply(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)MetricsSelector that combines other selectors and aggregates their capacity values.booleancanEqual(java.lang.Object x$1)static scala.collection.immutable.Map<Address,java.lang.Object>capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)MixMetricsSelectorcopy(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>copy$default$1()booleanequals(java.lang.Object x$1)static MixMetricsSelector$getInstance()Java API: get the default singleton instanceinthashCode()intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>selectors()java.lang.StringtoString()static scala.Option<scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>>unapply(MixMetricsSelector x$0)static scala.collection.immutable.Map<Address,java.lang.Object>weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity)static scala.collection.immutable.Map<Address,java.lang.Object>weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)- 
Methods inherited from class org.apache.pekko.cluster.metrics.MixMetricsSelectorBasecapacity
 - 
Methods inherited from class org.apache.pekko.cluster.metrics.CapacityMetricsSelectorweights, weights
 
- 
 
- 
- 
- 
Constructor Detail- 
MixMetricsSelectorpublic MixMetricsSelector(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors) 
 
- 
 - 
Method Detail- 
getInstancepublic static MixMetricsSelector$ getInstance() Java API: get the default singleton instance
 - 
applypublic static 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]
 - 
unapplypublic static scala.Option<scala.collection.immutable.IndexedSeq<CapacityMetricsSelector>> unapply(MixMetricsSelector x$0) 
 - 
weightspublic static scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity) 
 - 
weightspublic static scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) 
 - 
capacitypublic static scala.collection.immutable.Map<Address,java.lang.Object> capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) 
 - 
selectorspublic scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors() 
 - 
copypublic MixMetricsSelector copy(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors) 
 - 
copy$default$1public scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> copy$default$1() 
 - 
productPrefixpublic java.lang.String productPrefix() - Specified by:
- productPrefixin interface- scala.Product
 
 - 
productAritypublic int productArity() - Specified by:
- productArityin interface- scala.Product
 
 - 
productElementpublic java.lang.Object productElement(int x$1) - Specified by:
- productElementin interface- scala.Product
 
 - 
productIteratorpublic scala.collection.Iterator<java.lang.Object> productIterator() - Specified by:
- productIteratorin interface- scala.Product
 
 - 
canEqualpublic boolean canEqual(java.lang.Object x$1) - Specified by:
- canEqualin interface- scala.Equals
 
 - 
productElementNamepublic java.lang.String productElementName(int x$1) - Specified by:
- productElementNamein interface- scala.Product
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object x$1) - Specified by:
- equalsin interface- scala.Equals
- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-