Interface ProcessFactory
-
- All Known Implementing Classes:
ProcessFactory.ForCurrentVM,ProcessFactory.ForJava9CompatibleVM,ProcessFactory.ForLegacyVM
public interface ProcessFactoryAProcessFactoryis responsible for creating theProcessInfoobject, containing information about the current process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProcessFactory.ForCurrentVMRedirects to the the bestProcessFactorystrategy for the current VMstatic classProcessFactory.ForJava9CompatibleVMstatic classProcessFactory.ForLegacyVMAProcessFactoryfor a legacy VM that reads process information from its JMX properties.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessInfogetProcessInformation()
-
-
-
Method Detail
-
getProcessInformation
ProcessInfo getProcessInformation()
- Returns:
- the
ProcessInfoinformation about the current process
-
-