Interface IHostResourceInformationProvider
- All Known Implementing Classes:
- HostResourceInformationProvider
public interface IHostResourceInformationProvider
Abstraction of the host information provider. Provides host(VM) specific information like memory being available, etc.
 Abstraction allows to implement different strategies of available resource detection.
- 
Method SummaryModifier and TypeMethodDescriptionintGets the number of logical cores available for the EDT to uselongGets the maximum ammount of the memory alloocated for the JVM
- 
Method Details- 
getAvailableCoresint getAvailableCores()Gets the number of logical cores available for the EDT to use- Returns:
- The number of available cores, never negative
 
- 
getJvmMaxMemorylong getJvmMaxMemory()Gets the maximum ammount of the memory alloocated for the JVM- Returns:
- The maximum ammount of the memory available for the JVM, never negative
 
 
-