Class ProcessInfo
- java.lang.Object
-
- co.elastic.apm.agent.impl.payload.ProcessInfo
-
public class ProcessInfo extends java.lang.ObjectProcess
-
-
Constructor Summary
Constructors Constructor Description ProcessInfo(java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getArgv()Command line arguments used to start this processlonggetPid()Process ID of the service (Required)java.lang.LonggetPpid()Parent process ID of the servicejava.lang.StringgetTitle()ProcessInfowithArgv(java.util.List<java.lang.String> argv)Command line arguments used to start this processProcessInfowithPid(long pid)Process ID of the serviceProcessInfowithPpid(java.lang.Long ppid)Parent process ID of the service
-
-
-
Method Detail
-
getPid
public long getPid()
Process ID of the service (Required)
-
withPid
public ProcessInfo withPid(long pid)
Process ID of the service
-
getPpid
@Nullable public java.lang.Long getPpid()
Parent process ID of the service
-
withPpid
public ProcessInfo withPpid(@Nullable java.lang.Long ppid)
Parent process ID of the service
-
getTitle
public java.lang.String getTitle()
-
getArgv
public java.util.List<java.lang.String> getArgv()
Command line arguments used to start this process
-
withArgv
public ProcessInfo withArgv(@Nullable java.util.List<java.lang.String> argv)
Command line arguments used to start this process
-
-