Class ClusterMetricsChanged

java.lang.Object
org.apache.pekko.cluster.metrics.ClusterMetricsChanged
All Implemented Interfaces:
Serializable, ClusterMetricsEvent, scala.Equals, scala.Product

public final class ClusterMetricsChanged extends Object implements ClusterMetricsEvent, scala.Product, Serializable
Current snapshot of cluster node metrics.
See Also:
  • Constructor Details

    • ClusterMetricsChanged

      public ClusterMetricsChanged(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
  • Method Details

    • apply

      public static ClusterMetricsChanged apply(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
    • unapply

      public static scala.Option<scala.collection.immutable.Set<NodeMetrics>> unapply(ClusterMetricsChanged x$0)
    • nodeMetrics

      public scala.collection.immutable.Set<NodeMetrics> nodeMetrics()
    • getNodeMetrics

      public Iterable<NodeMetrics> getNodeMetrics()
      Java API
    • copy

      public ClusterMetricsChanged copy(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
    • copy$default$1

      public scala.collection.immutable.Set<NodeMetrics> copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object