|
||||||||||
| 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 interface com.metamatrix.admin.api.objects.ProcessObject |
|---|
ENABLED_FLAG, FORCED_SHUTDOWN_TIME, INPUT_BUFFER_SIZE, MAX_THREADS, OUTPUT_BUFFER_SIZE, SERVER_PORT, TIMETOLIVE, VM_MAXIMUM_HEAP_SIZE_PROPERTY_NAME, VM_MINIMUM_HEAP_SIZE_PROPERTY_NAME |
| Fields inherited from interface com.metamatrix.admin.api.objects.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 |
getHostIdentifier()
Get the Host Identifier for this MetaMatrix Process |
java.lang.String |
getHostName()
|
java.net.InetAddress |
getInetAddress()
Get the IP address for the MetaMatrix Process |
int |
getMaxSockets()
|
int |
getMaxVirtualSockets()
|
long |
getObjectsRead()
|
long |
getObjectsWritten()
|
int |
getPort()
Get the port number for this MetaMatrix Process |
java.lang.String |
getProcessName()
|
QueueWorkerPool |
getQueueWorkerPool()
|
int |
getSockets()
|
int |
getThreadCount()
|
long |
getTotalMemory()
|
int |
getVirtualSockets()
|
boolean |
isRunning()
|
void |
setFreeMemory(long freeMemory)
|
void |
setInetAddress(java.net.InetAddress inetAddress)
|
void |
setMaxSockets(int maxSockets)
|
void |
setMaxVirtualSockets(int maxVirtualSockets)
|
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 |
setThreadCount(int threadCount)
|
void |
setTotalMemory(long totalMemory)
|
void |
setVirtualSockets(int virtualSockets)
|
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, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreated, setCreatedBy, setDeployed, 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 com.metamatrix.admin.api.objects.ProcessObject |
|---|
isEnabled |
| Methods inherited from interface com.metamatrix.admin.api.objects.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 ProcessObjectpublic java.lang.String getHostIdentifier()
ProcessObjectHost Identifier for this MetaMatrix Process
getHostIdentifier in interface ProcessObjectpublic java.net.InetAddress getInetAddress()
ProcessObject
getInetAddress in interface ProcessObjectpublic int getPort()
ProcessObject
getPort in interface ProcessObjectpublic int getThreadCount()
getThreadCount in interface ProcessObjectpublic long getTotalMemory()
getTotalMemory in interface ProcessObjectpublic boolean isRunning()
isRunning in interface ProcessObjectpublic 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 MMAdminObjectObject.toString()public int getMaxSockets()
getMaxSockets in interface ProcessObjectpublic void setMaxSockets(int maxSockets)
maxSockets - The maxSockets to set.public int getMaxVirtualSockets()
getMaxVirtualSockets in interface ProcessObjectpublic void setMaxVirtualSockets(int maxVirtualSockets)
maxVirtualSockets - The maxVirtualSockets to set.public long getObjectsRead()
getObjectsRead in interface ProcessObjectpublic void setObjectsRead(long objectsRead)
objectsRead - The objectsRead to set.public long getObjectsWritten()
getObjectsWritten in interface ProcessObjectpublic void setObjectsWritten(long objectsWritten)
objectsWritten - The objectsWritten to set.public int getSockets()
getSockets in interface ProcessObjectpublic void setSockets(int sockets)
sockets - The sockets to set.public int getVirtualSockets()
getVirtualSockets in interface ProcessObjectpublic void setVirtualSockets(int virtualSockets)
virtualSockets - The virtualSockets to set.public QueueWorkerPool getQueueWorkerPool()
getQueueWorkerPool in interface ProcessObjectpublic void setQueueWorkerPool(QueueWorkerPool queueWorkerPool)
queueWorkerPool - The queueWorkerPool to set.public java.lang.String getProcessName()
public java.lang.String getHostName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||