Class MixMetricsSelectorBase

    • Constructor Detail

      • MixMetricsSelectorBase

        public MixMetricsSelectorBase​(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)
      • MixMetricsSelectorBase

        public MixMetricsSelectorBase​(java.lang.Iterable<CapacityMetricsSelector> selectors)
        Java API: construct a mix-selector from a sequence of selectors
        selectors - (undocumented)
    • Method Detail

      • capacity

        public scala.collection.immutable.Map<Address,​java.lang.Object> capacity​(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
        Description copied from class: CapacityMetricsSelector
        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).
        Specified by:
        capacity in class CapacityMetricsSelector
        nodeMetrics - (undocumented)