|
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 IRemoteServerProcesspublic void setPPid(String ppid)
IRemoteServerProcess
setPPid in interface IRemoteServerProcesspublic void setName(String name)
IRemoteServerProcess
setName in interface IRemoteServerProcesspublic String getLabel()
IHostProcess
getLabel in interface IHostProcesspublic void setLabel(String label)
IRemoteServerProcess
setLabel in interface IRemoteServerProcesspublic void setState(String state)
IRemoteServerProcess
setState in interface IRemoteServerProcesspublic void setTgid(String tgid)
IRemoteServerProcess
setTgid in interface IRemoteServerProcesspublic void setTracerPid(String tracerpid)
IRemoteServerProcess
setTracerPid in interface IRemoteServerProcesspublic void setUid(String uid)
IRemoteServerProcess
setUid in interface IRemoteServerProcesspublic void setUsername(String username)
IRemoteServerProcess
setUsername in interface IRemoteServerProcesspublic void setGid(String gid)
IRemoteServerProcess
setGid in interface IRemoteServerProcesspublic void setVmSizeInKB(String size)
IRemoteServerProcess
setVmSizeInKB in interface IRemoteServerProcesspublic void setVmRSSInKB(String size)
IRemoteServerProcess
setVmRSSInKB in interface IRemoteServerProcesspublic void setAllProperties(String allProperties)
The string contains properties of the object in the following order
setAllProperties in interface IRemoteServerProcesspublic 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()
getAllProperties in interface IHostProcess
|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||