org.teiid.adminapi
Interface ProcessObject

All Superinterfaces:
AdminObject
All Known Implementing Classes:
MMProcess

public interface ProcessObject
extends AdminObject

A Process in the Teiid System

The identifier pattern for a Process is "processName". This Process identifier is considered to be unique across the system.

Since:
4.3

Field Summary
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 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 isEnabled()
          Is this process enabled in Configuration
 boolean isRunning()
           
 
Methods inherited from interface org.teiid.adminapi.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Method Detail

getHostName

java.lang.String getHostName()
Get the Host name

Returns:
String host name where the process is running
Since:
4.3

getProcessName

java.lang.String getProcessName()
Get the Process name

Returns:
String A unique identifier for this Process.
Since:
4.3

getPort

int getPort()
Get the port number for this MetaMatrix Process

Returns:
listener port for this host
Since:
4.3

getInetAddress

java.net.InetAddress getInetAddress()
Get the IP address for the MetaMatrix Process

Returns:
the IP address for the MetaMatrix Process
Since:
4.3

isEnabled

boolean isEnabled()
Is this process enabled in Configuration

Returns:
whether this process is enabled.
Since:
4.3

getFreeMemory

long getFreeMemory()
Returns:
amount of free memory for this Java process.

getThreadCount

int getThreadCount()
Returns:
thread count for this Java process.

getTotalMemory

long getTotalMemory()
Returns:
total memory allocated for this Java process.

isRunning

boolean isRunning()
Returns:
whether this process is running.
Since:
4.3

getObjectsRead

long getObjectsRead()
Returns:
Returns the objectsRead.
Since:
4.3

getObjectsWritten

long getObjectsWritten()
Returns:
Returns the objectsWritten.
Since:
4.3

getMaxSockets

int getMaxSockets()
Returns:
Returns the maxSockets.
Since:
4.3

getSockets

int getSockets()
Returns:
Returns the sockets.
Since:
4.3

getStartTime

java.util.Date getStartTime()
Returns:
Returns the startTime.
Since:
4.3

getQueueWorkerPool

QueueWorkerPool getQueueWorkerPool()
Returns:
Returns the queueWorkerPool.
Since:
4.3


Copyright © 2009. All Rights Reserved.