|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.clientserver.processes.handlers.UniversalServerProcessImpl
public class UniversalServerProcessImpl
Field Summary | |
---|---|
protected Object[] |
_properties
|
Constructor Summary | |
---|---|
UniversalServerProcessImpl()
create a new UniversalServerProcessImpl with the default property set |
|
UniversalServerProcessImpl(String initialAttributes)
create a new UniversalServerProcessImpl with initial Attributes. |
Method Summary | |
---|---|
String |
getAllProperties()
Return all the properties of this data structure in one string. |
long |
getGid()
Get the process owner's group id (gid) |
protected Integer |
getIntAttribute(String value,
int dflt)
|
String |
getLabel()
Get the display name for this process. |
protected Long |
getLongAttribute(String value,
long dflt)
|
String |
getName()
Get the name of the executable owning this process |
long |
getPid()
Get the process id (pid) associated with this process. |
long |
getPPid()
Get the parent process id (ppid) associated with this process. |
String |
getState()
Get the state of the process |
long |
getTgid()
Get the Tgid |
long |
getTracerPid()
Get the TracerPid |
long |
getUid()
Get the process owner's user id (uid) |
String |
getUsername()
Get the process owner's username |
long |
getVmRSSInKB()
Returns the virtual memory resident set size of this process (in kB). |
long |
getVmSizeInKB()
Returns the virtual memory size of this process (in kB) |
boolean |
isRoot()
Returns whether this is the root process or not |
void |
setAllProperties(String allProperties)
You can also set all attributes at once with your own string passed as a parameter, as long as the string is in the same format as outlined below (pass in null to use the DataElement's string): The string contains properties of the object in the following order Process Id (pid) - long Executable name - String Status - char Tgid - long Process Parent id (ppid) - long Tracer pid - long User id (uid) - long Username - String Group id (gid) - long VM Size - long VM RSS - long |
void |
setGid(String gid)
Set the process owner's group id (gid) |
void |
setLabel(String label)
Set the display name for this process. |
void |
setName(String name)
Set the name of the executable owning this process |
void |
setPid(String pid)
Set the process id (pid) associated with this process. |
void |
setPPid(String ppid)
Set the parent process id (ppid) associated with this process. |
void |
setState(String state)
Set the state of the process |
void |
setTgid(String tgid)
Set the Tgid |
void |
setTracerPid(String tracerpid)
Set the TracerPid |
void |
setUid(String uid)
Set the process owner's user id (uid) |
void |
setUsername(String username)
Set the process owner's username |
void |
setVmRSSInKB(String size)
Sets the virtual memory resident set size of this process (in kB). |
void |
setVmSizeInKB(String size)
Sets the virtual memory size of this process (in kB) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object[] _properties
Constructor Detail |
---|
public UniversalServerProcessImpl()
public UniversalServerProcessImpl(String initialAttributes)
Method Detail |
---|
protected Long getLongAttribute(String value, long dflt)
protected Integer getIntAttribute(String value, int dflt)
public void setPid(String pid)
IRemoteServerProcess
setPid
in interface IRemoteServerProcess
public void setPPid(String ppid)
IRemoteServerProcess
setPPid
in interface IRemoteServerProcess
public void setName(String name)
IRemoteServerProcess
setName
in interface IRemoteServerProcess
public String getLabel()
IHostProcess
getLabel
in interface IHostProcess
public void setLabel(String label)
IRemoteServerProcess
setLabel
in interface IRemoteServerProcess
public void setState(String state)
IRemoteServerProcess
setState
in interface IRemoteServerProcess
public void setTgid(String tgid)
IRemoteServerProcess
setTgid
in interface IRemoteServerProcess
public void setTracerPid(String tracerpid)
IRemoteServerProcess
setTracerPid
in interface IRemoteServerProcess
public void setUid(String uid)
IRemoteServerProcess
setUid
in interface IRemoteServerProcess
public void setUsername(String username)
IRemoteServerProcess
setUsername
in interface IRemoteServerProcess
public void setGid(String gid)
IRemoteServerProcess
setGid
in interface IRemoteServerProcess
public void setVmSizeInKB(String size)
IRemoteServerProcess
setVmSizeInKB
in interface IRemoteServerProcess
public void setVmRSSInKB(String size)
IRemoteServerProcess
setVmRSSInKB
in interface IRemoteServerProcess
public void setAllProperties(String allProperties)
The string contains properties of the object in the following order
setAllProperties
in interface IRemoteServerProcess
public long getPid()
IHostProcess
getPid
in interface IHostProcess
public long getPPid()
IHostProcess
getPPid
in interface IHostProcess
public String getName()
IHostProcess
getName
in interface IHostProcess
public String getState()
IHostProcess
getState
in interface IHostProcess
public long getTgid()
IHostProcess
getTgid
in interface IHostProcess
public long getTracerPid()
IHostProcess
getTracerPid
in interface IHostProcess
public long getUid()
IHostProcess
getUid
in interface IHostProcess
public String getUsername()
IHostProcess
getUsername
in interface IHostProcess
public long getGid()
IHostProcess
getGid
in interface IHostProcess
public boolean isRoot()
IHostProcess
isRoot
in interface IHostProcess
public long getVmSizeInKB()
IHostProcess
getVmSizeInKB
in interface IHostProcess
public long getVmRSSInKB()
IHostProcess
getVmRSSInKB
in interface IHostProcess
public String getAllProperties()
getAllProperties
in interface IHostProcess
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |