Class StandardMetrics.HeapMemory

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product
    Enclosing class:
    StandardMetrics

    public static final class StandardMetrics.HeapMemory
    extends java.lang.Object
    implements scala.Product, java.io.Serializable
    The amount of used and committed memory will always be <= max if max is defined. A memory allocation may fail if it attempts to increase the used memory such that used > committed even if used <= max is true (e.g. when the system virtual memory is low).

    param: address Address of the node the metrics are gathered at param: timestamp the time of sampling, in milliseconds since midnight, January 1, 1970 UTC param: used the current sum of heap memory used from all heap memory pools (in bytes) param: committed the current sum of heap memory guaranteed to be available to the JVM from all heap memory pools (in bytes). Committed will always be greater than or equal to used. param: max the maximum amount of memory (in bytes) that can be used for JVM memory management. Can be undefined on some OS.

    See Also:
    Serialized Form
    • Constructor Detail

      • HeapMemory

        public HeapMemory​(Address address,
                          long timestamp,
                          long used,
                          long committed,
                          scala.Option<java.lang.Object> max)
    • Method Detail

      • address

        public Address address()
      • timestamp

        public long timestamp()
      • used

        public long used()
      • committed

        public long committed()
      • max

        public scala.Option<java.lang.Object> max()
      • copy$default$1

        public Address copy$default$1()
      • copy$default$2

        public long copy$default$2()
      • copy$default$3

        public long copy$default$3()
      • copy$default$4

        public long copy$default$4()
      • copy$default$5

        public scala.Option<java.lang.Object> copy$default$5()
      • productPrefix

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

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

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

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

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

        public java.lang.String productElementName​(int x$1)
      • hashCode

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

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

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