Class PodsMetricSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class PodsMetricSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
    • Constructor Detail

      • PodsMetricSource

        public PodsMetricSource()
    • Method Detail

      • getTarget

        @NonNull
        public @NonNull MetricTarget getTarget()
      • setMetric

        public void setMetric​(@NonNull
                              @NonNull MetricIdentifier metric)
      • setTarget

        public void setTarget​(@NonNull
                              @NonNull MetricTarget target)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object