a random id for a process that is not assigned to a different process yet.
the process to register.
Removes the process from this process manager. Invoking this method, will make sure that the process is terminated before eliminating it from the manager's cache.
the process to unregister from this process manager.
Registers the given process into this manager. Both on process termination and on error, the process will be automatically removed from the manager.