| Modifier and Type | Field and Description |
|---|---|
| private MemoryUsage | |
| private MemoryUsage | |
| private long | |
| private long | |
| private long | |
| private long | |
| private String | |
| private MemoryUsage | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv | MemoryPoolStat(String name, long usageThreshold, MemoryUsage usage, long lastGcId, long lastGcStartTime, long lastGcEndTime, long collectThreshold, MemoryUsage beforeGcUsage, MemoryUsage afterGcUsage)
|
| Modifier and Type | Method and Description |
|---|---|
| public MemoryUsage | |
| public MemoryUsage | |
| public long | |
| public long | getLastGcEndTime()
Returns the end time of the most recent GC on the memory pool for this statistics in milliseconds. |
| public long | |
| public long | getLastGcStartTime()
Returns the start time of the most recent GC on the memory pool for this statistics in milliseconds. |
| public String | |
| public MemoryUsage | |
| public long |
| afterGcUsage | back to summary |
|---|---|
| private MemoryUsage afterGcUsage | |
| beforeGcUsage | back to summary |
|---|---|
| private MemoryUsage beforeGcUsage | |
| collectThreshold | back to summary |
|---|---|
| private long collectThreshold | |
| lastGcEndTime | back to summary |
|---|---|
| private long lastGcEndTime | |
| lastGcId | back to summary |
|---|---|
| private long lastGcId | |
| lastGcStartTime | back to summary |
|---|---|
| private long lastGcStartTime | |
| poolName | back to summary |
|---|---|
| private String poolName | |
| usage | back to summary |
|---|---|
| private MemoryUsage usage | |
| usageThreshold | back to summary |
|---|---|
| private long usageThreshold | |
| MemoryPoolStat | back to summary |
|---|---|
| pack-priv MemoryPoolStat(String name, long usageThreshold, MemoryUsage usage, long lastGcId, long lastGcStartTime, long lastGcEndTime, long collectThreshold, MemoryUsage beforeGcUsage, MemoryUsage afterGcUsage) | |
| getAfterGcUsage | back to summary |
|---|---|
| public MemoryUsage getAfterGcUsage() Returns the memory usage after the most recent GC finished. null if no GC occurs. | |
| getBeforeGcUsage | back to summary |
|---|---|
| public MemoryUsage getBeforeGcUsage() Returns the memory usage before the most recent GC started. null if no GC occurs. | |
| getCollectionUsageThreshold | back to summary |
|---|---|
| public long getCollectionUsageThreshold() Returns the current collection usage threshold. -1 if not supported. | |
| getLastGcEndTime | back to summary |
|---|---|
| public long getLastGcEndTime() Returns the end time of the most recent GC on the memory pool for this statistics in milliseconds. Return 0 if no GC occurs. | |
| getLastGcId | back to summary |
|---|---|
| public long getLastGcId() Returns the Id of GC. | |
| getLastGcStartTime | back to summary |
|---|---|
| public long getLastGcStartTime() Returns the start time of the most recent GC on the memory pool for this statistics in milliseconds. Return 0 if no GC occurs. | |
| getPoolName | back to summary |
|---|---|
| public String getPoolName() Returns the memory pool name. | |
| getUsage | back to summary |
|---|---|
| public MemoryUsage getUsage() Returns the current memory usage. | |
| getUsageThreshold | back to summary |
|---|---|
| public long getUsageThreshold() Returns the current usage threshold. -1 if not supported. | |