Class AbstractProcessManager<P extends ProcessInfo>

  • Type Parameters:
    P - Process information

    public abstract class AbstractProcessManager<P extends ProcessInfo>
    extends Object
    • Constructor Detail

      • AbstractProcessManager

        public AbstractProcessManager()
    • Method Detail

      • getRunningProcesses

        public javafx.collections.ObservableList<P> getRunningProcesses()
      • updateRunningProcessesInfo

        public void updateRunningProcessesInfo()
      • createLocalProcess

        protected abstract P createLocalProcess()
      • getProcessesInfo

        protected abstract List<P> getProcessesInfo()
      • getLocalProcess

        public P getLocalProcess()
      • getLocalProcess

        public P getLocalProcess​(List<P> pProcesses)
        Searches the specified list of processes for the process in which this method is invoked. If not found, null is returned.
      • createLocalProcessInfo

        public static ProcessInfo createLocalProcessInfo()
      • getLocalProcessId

        public static String 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

        public static String pid()
        The ID of the current process.