|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.processes.AbstractHostProcess
public class AbstractHostProcess
Field Summary | |
---|---|
protected Object[] |
_properties
|
Constructor Summary | |
---|---|
AbstractHostProcess()
create a new AbstractHostProcess with the default property set |
|
AbstractHostProcess(String initialAttributes)
create a new AbstractHostProcess 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)
This method allows to 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). |
void |
setGid(String gid)
|
void |
setLabel(String label)
|
void |
setName(String name)
|
void |
setPid(String pid)
|
void |
setPPid(String ppid)
|
void |
setState(String state)
|
void |
setTgid(String tgid)
|
void |
setTracerPid(String tracerpid)
|
void |
setUid(String uid)
|
void |
setUsername(String username)
|
void |
setVmRSSInKB(String size)
|
void |
setVmSizeInKB(String size)
|
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 AbstractHostProcess()
public AbstractHostProcess(String initialAttributes)
initialAttributes
- String of initial attributessetAllProperties(String)
Method Detail |
---|
protected Long getLongAttribute(String value, long dflt)
protected Integer getIntAttribute(String value, int dflt)
public void setPid(String pid)
public void setPPid(String ppid)
public void setName(String name)
public String getLabel()
IHostProcess
getLabel
in interface IHostProcess
public void setLabel(String label)
public void setState(String state)
public void setTgid(String tgid)
public void setTracerPid(String tracerpid)
public void setUid(String uid)
public void setUsername(String username)
public void setGid(String gid)
public void setVmSizeInKB(String size)
public void setVmRSSInKB(String size)
public void setAllProperties(String allProperties)
The string contains properties of the object in the following order,
separated by IServiceConstants.TOKEN_SEPARATOR
:
allProperties
- Property String as defined abovepublic 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()
IServiceConstants.TOKEN_SEPARATOR
.
getAllProperties
in interface IHostProcess
setAllProperties(String)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |