java.lang.Object | |
↳ | com.atlassian.confluence.status.service.systeminfo.MemoryInfo |
Simple bean encapsulating information about the system's memory usage. The usage information is calculated when the bean is instantiated (and not recalculated after)
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MemoryInfo.Bytes | Represents some number of bytes. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new MemoryInfo containing details of Confluence's memory usage at time of instantiation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the amount of heap currently allocated by the JVM.
| |||||||||||
Gets the total heap still available to be used.
| |||||||||||
Gets the currently available permanent generation memory.
| |||||||||||
Gets the amount of currently allocated heap that has not been used.
| |||||||||||
This method is deprecated.
since 3.1 produces misleading memory info. Please use newer API
| |||||||||||
This method is deprecated.
since 3.1 produces misleading memory info. Please use newer API
| |||||||||||
Gets the maximum amount of heap the JVM is will allow to be allocated.
| |||||||||||
Gets the maximum permanent generation memory allocation.
| |||||||||||
This method is deprecated.
since 3.1 produces misleading memory statistics. Please use newer API
| |||||||||||
This method is deprecated.
since 3.1 produces misleading memory info. Please use newer API
| |||||||||||
Gets the amount of heap currently used by the JVM.
| |||||||||||
This method is deprecated.
since 3.1. Use
getUsedHeap()
| |||||||||||
This method is deprecated.
since 3.1. Use
getUsedHeap()
| |||||||||||
Gets the currently used permanent generation memory.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Construct a new MemoryInfo containing details of Confluence's memory usage at time of instantiation.
Gets the amount of heap currently allocated by the JVM. This is the value that Confluence used to report as "total memory".
Gets the total heap still available to be used. This includes heap that the JVM is configured to use but has not yet allocated. To most users this will be the "free" memory.
Gets the currently available permanent generation memory.
Gets the amount of currently allocated heap that has not been used. This is the value that Confluence used to report as "free memory".
This method is deprecated.
since 3.1 produces misleading memory info. Please use newer API
This method is deprecated.
since 3.1 produces misleading memory info. Please use newer API
Gets the maximum amount of heap the JVM is will allow to be allocated. This should be close to (but probably not exactly the same as) the JVM's -Xmx setting.
Gets the maximum permanent generation memory allocation. This should be close to (or even the same as) the -XXMaxPermSize setting
This method is deprecated.
since 3.1 produces misleading memory statistics. Please use newer API
This method is deprecated.
since 3.1 produces misleading memory info. Please use newer API
Gets the amount of heap currently used by the JVM.
Gets the currently used permanent generation memory.