public class MemoryInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MemoryInfo.Bytes
Represents some number of bytes.
|
Constructor and Description |
---|
MemoryInfo()
Construct a new MemoryInfo containing details of Confluence's memory usage at time of instantiation.
|
Modifier and Type | Method and Description |
---|---|
MemoryInfo.Bytes |
getAllocatedHeap()
Gets the amount of heap currently allocated by the JVM.
|
MemoryInfo.Bytes |
getAvailableHeap()
Gets the total heap still available to be used.
|
MemoryInfo.Bytes |
getAvailableNonHeap() |
MemoryInfo.Bytes |
getAvailablePermGen()
Deprecated.
since 5.10 because PermGen no longer exists in Java8
|
MemoryInfo.Bytes |
getFreeAllocatedHeap()
Gets the amount of currently allocated heap that has not been used.
|
MemoryInfo.Bytes |
getMaxHeap()
Gets the maximum amount of heap the JVM is will allow to be allocated.
|
MemoryInfo.Bytes |
getMaxNonHeap() |
MemoryInfo.Bytes |
getMaxPermGen()
Deprecated.
since 5.10 because PermGen no longer exists in Java8
|
MemoryInfo.Bytes |
getUsedHeap()
Gets the amount of heap currently used by the JVM.
|
MemoryInfo.Bytes |
getUsedNonHeap() |
MemoryInfo.Bytes |
getUsedPermGen()
Deprecated.
since 5.10 because PermGen no longer exists in Java8
|
MemoryInfo.Bytes |
getXms() |
MemoryInfo.Bytes |
getXmx() |
public MemoryInfo()
public MemoryInfo.Bytes getAvailableHeap()
public MemoryInfo.Bytes getFreeAllocatedHeap()
public MemoryInfo.Bytes getMaxHeap()
public MemoryInfo.Bytes getAllocatedHeap()
public MemoryInfo.Bytes getUsedHeap()
@Deprecated public MemoryInfo.Bytes getMaxPermGen()
@Deprecated public MemoryInfo.Bytes getUsedPermGen()
@Deprecated public MemoryInfo.Bytes getAvailablePermGen()
public MemoryInfo.Bytes getMaxNonHeap()
public MemoryInfo.Bytes getUsedNonHeap()
public MemoryInfo.Bytes getAvailableNonHeap()
public MemoryInfo.Bytes getXmx()
public MemoryInfo.Bytes getXms()
Copyright © 2003–2020 Atlassian. All rights reserved.