Module com.iamsoft.util.ui
Class AbstractProcessManager<P extends ProcessInfo>
java.lang.Object
com.iamsoft.util.ui.javafx.management.AbstractProcessManager<P>
- Type Parameters:
P
- Process information
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract P
static ProcessInfo
getLocalProcess
(List<P> pProcesses) Searches the specified list of processes for the process in which this method is invoked.static String
Gets the ID of the process in which this method is invoked.static long
Gets the start time of the process in which this method is invoked.javafx.collections.ObservableList<P>
static String
pid()
The ID of the current process.void
-
Constructor Details
-
AbstractProcessManager
public AbstractProcessManager()
-
-
Method Details
-
getRunningProcesses
-
updateRunningProcessesInfo
public void updateRunningProcessesInfo() -
createLocalProcess
-
getProcessesInfo
-
getLocalProcess
-
getLocalProcess
Searches the specified list of processes for the process in which this method is invoked. If not found,null
is returned. -
createLocalProcessInfo
-
getLocalProcessId
Gets the ID of the process in which this method is invoked. -
getLocalProcessStartTime
public static long getLocalProcessStartTime()Gets the start time of the process in which this method is invoked. -
pid
The ID of the current process.
-