Package org.apache.pekko.cluster.metrics
Class StandardMetrics.HeapMemory$
- java.lang.Object
- 
- org.apache.pekko.cluster.metrics.StandardMetrics.HeapMemory$
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Enclosing class:
- StandardMetrics
 
 public static class StandardMetrics.HeapMemory$ extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StandardMetrics.HeapMemory$MODULE$Static reference to the singleton instance of this Scala object.
 - 
Constructor SummaryConstructors Constructor Description HeapMemory$()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardMetrics.HeapMemoryapply(Address address, long timestamp, long used, long committed, scala.Option<java.lang.Object> max)The amount of used and committed memory will always be <= max if max is defined.scala.Option<scala.Tuple5<Address,java.lang.Object,java.lang.Object,java.lang.Object,scala.Option<java.lang.Object>>>unapply(NodeMetrics nodeMetrics)Given a NodeMetrics it returns the HeapMemory data if the nodeMetrics contains necessary heap metrics.scala.Option<scala.Tuple5<Address,java.lang.Object,java.lang.Object,java.lang.Object,scala.Option<java.lang.Object>>>unapply(StandardMetrics.HeapMemory x$0)
 
- 
- 
- 
Field Detail- 
MODULE$public static final StandardMetrics.HeapMemory$ MODULE$ Static reference to the singleton instance of this Scala object.
 
- 
 - 
Method Detail- 
unapplypublic scala.Option<scala.Tuple5<Address,java.lang.Object,java.lang.Object,java.lang.Object,scala.Option<java.lang.Object>>> unapply(NodeMetrics nodeMetrics) Given a NodeMetrics it returns the HeapMemory data if the nodeMetrics contains necessary heap metrics.- Returns:
- if possible a tuple matching the HeapMemory constructor parameters
 
 - 
applypublic StandardMetrics.HeapMemory apply(Address address, long timestamp, long used, long committed, scala.Option<java.lang.Object> max) 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).- Parameters:
- address-- pekko.actor.Addressof the node the metrics are gathered at
- timestamp- the time of sampling, in milliseconds since midnight, January 1, 1970 UTC
- used- the current sum of heap memory used from all heap memory pools (in bytes)
- 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.
- max- the maximum amount of memory (in bytes) that can be used for JVM memory management. Can be undefined on some OS.
 
 - 
unapplypublic scala.Option<scala.Tuple5<Address,java.lang.Object,java.lang.Object,java.lang.Object,scala.Option<java.lang.Object>>> unapply(StandardMetrics.HeapMemory x$0) 
 
- 
 
-