|
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.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 IHostProcesspublic 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 IHostProcesspublic long getPPid()
IHostProcess
getPPid in interface IHostProcesspublic String getName()
IHostProcess
getName in interface IHostProcesspublic String getState()
IHostProcess
getState in interface IHostProcesspublic long getTgid()
IHostProcess
getTgid in interface IHostProcesspublic long getTracerPid()
IHostProcess
getTracerPid in interface IHostProcesspublic long getUid()
IHostProcess
getUid in interface IHostProcesspublic String getUsername()
IHostProcess
getUsername in interface IHostProcesspublic long getGid()
IHostProcess
getGid in interface IHostProcesspublic boolean isRoot()
IHostProcess
isRoot in interface IHostProcesspublic long getVmSizeInKB()
IHostProcess
getVmSizeInKB in interface IHostProcesspublic long getVmRSSInKB()
IHostProcess
getVmRSSInKB in interface IHostProcesspublic String getAllProperties()
IServiceConstants.TOKEN_SEPARATOR.
getAllProperties in interface IHostProcesssetAllProperties(String)
|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||