Package com.j_spaces.core
Interface IProcessMemoryManager
- All Known Implementing Classes:
ProcessMemoryManager
public interface IProcessMemoryManager
An interface for retrieving current JVM memory details & provides the ability to perform GC.
- Since:
- 9.5
- Author:
- idan
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglongdoublegetMemoryUsagePercentage(boolean asyncCheckIfEnabled) booleanvoid
-
Method Details
-
performGC
void performGC() -
getMemoryUsagePercentage
double getMemoryUsagePercentage(boolean asyncCheckIfEnabled) -
getMemoryUsage
long getMemoryUsage() -
getMaximumMemory
long getMaximumMemory() -
getFreeMemory
long getFreeMemory() -
isAsyncCheckEnabled
boolean isAsyncCheckEnabled()
-