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 Pstatic ProcessInfogetLocalProcess(List<P> pProcesses) Searches the specified list of processes for the process in which this method is invoked.static StringGets the ID of the process in which this method is invoked.static longGets the start time of the process in which this method is invoked.javafx.collections.ObservableList<P>static Stringpid()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,nullis 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.
-