MemoryPoolInfoDto Data Type

Represents a memory pool.

Properties
name data type description
name string
type string
usageUsed number Usage of the pool or -1 when usage not supported. If usage is supported (MemoryPoolMXBean#getUsage() returns non null) then the value of the returned objects MemoryUsage#getUsed() method.
collectionUsageUsed number Collection usage of the pool or -1 when usage not supported. If collection usage is supported (MemoryPoolMXBean#getCollectionUsage() returns non null) then the value of the returned objects MemoryUsage#getUsed() method.
collectionUsage MemoryUsageDescDto Collection usage of the pool or null when collection usage not supported. If collection usage supported (MemoryPoolMXBean#getCollectionUsage() returns non null) the representation of the returned object.
usage MemoryUsageDescDto Usage of the pool or null when usage not supported. If usage supported (MemoryPoolMXBean#getUsage() returns non null) the representation of the returned object.

Example

{
  "name" : "...",
  "type" : "...",
  "usageUsed" : 12345,
  "collectionUsageUsed" : 12345,
  "collectionUsage" : {
    "committed" : 12345,
    "init" : 12345,
    "max" : 12345,
    "used" : 12345,
    "asString" : "..."
  },
  "usage" : {
    "committed" : 12345,
    "init" : 12345,
    "max" : 12345,
    "used" : 12345,
    "asString" : "..."
  }
}