|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.admin.objects.MMAdminObject
com.metamatrix.admin.objects.MMProcess
public final class MMProcess
Data holder for information about a Process.
Field Summary |
---|
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject |
---|
deployed, enabled, identifier, identifierParts, name, registered |
Fields inherited from interface org.teiid.adminapi.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Constructor Summary | |
---|---|
MMProcess(java.lang.String[] identifierParts)
Contruct a new MMProcess. |
Method Summary | |
---|---|
static java.lang.String[] |
buildIdentifierArray(java.lang.String identifier)
Build the Identifer, as an array of its parts. |
long |
getFreeMemory()
|
java.lang.String |
getHostName()
Get the Host name |
java.net.InetAddress |
getInetAddress()
Get the IP address for the MetaMatrix Process |
int |
getMaxSockets()
|
long |
getObjectsRead()
|
long |
getObjectsWritten()
|
int |
getPort()
Get the port number for this MetaMatrix Process |
java.lang.String |
getProcessName()
Get the Process name |
QueueWorkerPool |
getQueueWorkerPool()
|
int |
getSockets()
|
java.util.Date |
getStartTime()
|
int |
getThreadCount()
|
long |
getTotalMemory()
|
boolean |
isRunning()
|
void |
setFreeMemory(long freeMemory)
|
void |
setInetAddress(java.net.InetAddress inetAddress)
|
void |
setMaxSockets(int maxSockets)
|
void |
setObjectsRead(long objectsRead)
|
void |
setObjectsWritten(long objectsWritten)
|
void |
setPort(int port)
|
void |
setQueueWorkerPool(QueueWorkerPool queueWorkerPool)
|
void |
setRunning(boolean running)
Set whether this process is running. |
void |
setSockets(int sockets)
|
void |
setStartTime(java.util.Date date)
|
void |
setThreadCount(int threadCount)
|
void |
setTotalMemory(long totalMemory)
|
java.lang.String |
toString()
Return string for display. |
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject |
---|
buildIdentifier, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isEnabled, isRegistered, setCreated, setCreatedBy, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.teiid.adminapi.ProcessObject |
---|
isEnabled |
Methods inherited from interface org.teiid.adminapi.AdminObject |
---|
getIdentifier, getName, getProperties, getPropertyValue |
Constructor Detail |
---|
public MMProcess(java.lang.String[] identifierParts)
identifierParts
- Method Detail |
---|
public static java.lang.String[] buildIdentifierArray(java.lang.String identifier)
identifier
-
public long getFreeMemory()
getFreeMemory
in interface ProcessObject
public java.lang.String getHostName()
ProcessObject
getHostName
in interface ProcessObject
public java.lang.String getProcessName()
ProcessObject
getProcessName
in interface ProcessObject
public java.net.InetAddress getInetAddress()
ProcessObject
getInetAddress
in interface ProcessObject
public int getPort()
ProcessObject
getPort
in interface ProcessObject
public int getThreadCount()
getThreadCount
in interface ProcessObject
public long getTotalMemory()
getTotalMemory
in interface ProcessObject
public boolean isRunning()
isRunning
in interface ProcessObject
public void setFreeMemory(long freeMemory)
freeMemory
- The freeMemory to set.public void setInetAddress(java.net.InetAddress inetAddress)
inetAddress
- The inetAddress to set.public void setPort(int port)
port
- The port to set.public void setRunning(boolean running)
running
- public void setThreadCount(int threadCount)
threadCount
- The threadCount to set.public void setTotalMemory(long totalMemory)
totalMemory
- The totalMemory to set.public java.lang.String toString()
toString
in class MMAdminObject
Object.toString()
public int getMaxSockets()
getMaxSockets
in interface ProcessObject
public void setMaxSockets(int maxSockets)
maxSockets
- The maxSockets to set.public long getObjectsRead()
getObjectsRead
in interface ProcessObject
public void setObjectsRead(long objectsRead)
objectsRead
- The objectsRead to set.public long getObjectsWritten()
getObjectsWritten
in interface ProcessObject
public void setObjectsWritten(long objectsWritten)
objectsWritten
- The objectsWritten to set.public int getSockets()
getSockets
in interface ProcessObject
public void setSockets(int sockets)
sockets
- The sockets to set.public QueueWorkerPool getQueueWorkerPool()
getQueueWorkerPool
in interface ProcessObject
public void setQueueWorkerPool(QueueWorkerPool queueWorkerPool)
queueWorkerPool
- The queueWorkerPool to set.public java.util.Date getStartTime()
getStartTime
in interface ProcessObject
public void setStartTime(java.util.Date date)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |