com.metamatrix.admin.api.objects
Interface ProcessObject

All Superinterfaces:
AdminObject
All Known Implementing Classes:
MMProcess

public interface ProcessObject
extends AdminObject

A Process in the MetaMatrix system.

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

Since:
4.3

Field Summary
static java.lang.String ENABLED_FLAG
          Proces Enabled Flag Property Name
static java.lang.String FORCED_SHUTDOWN_TIME
          Proces Forced Shutdown Time Property Name
static java.lang.String INPUT_BUFFER_SIZE
          Proces Import Buffer Size Property Name
static java.lang.String MAX_THREADS
          Proces Max Treads Property Name
static java.lang.String OUTPUT_BUFFER_SIZE
          Proces Output Buffer Size Property Name
static java.lang.String SERVER_PORT
          Proces Port Property Name
static java.lang.String TIMETOLIVE
          Proces Time To Live Property Name
static java.lang.String VM_MAXIMUM_HEAP_SIZE_PROPERTY_NAME
          Proces Max Heap Size Property Name
static java.lang.String VM_MINIMUM_HEAP_SIZE_PROPERTY_NAME
          Proces Min Heap Size Property Name
 
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 long getFreeMemory()
           
 java.lang.String getHostIdentifier()
          Get the Host Identifier for this MetaMatrix Process
 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
 QueueWorkerPool getQueueWorkerPool()
           
 int getSockets()
           
 int getThreadCount()
           
 long getTotalMemory()
           
 int getVirtualSockets()
           
 boolean isEnabled()
          Is this process enabled in Configuration
 boolean isRunning()
           
 
Methods inherited from interface com.metamatrix.admin.api.objects.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Field Detail

VM_MINIMUM_HEAP_SIZE_PROPERTY_NAME

static final java.lang.String VM_MINIMUM_HEAP_SIZE_PROPERTY_NAME
Proces Min Heap Size Property Name

See Also:
Constant Field Values

VM_MAXIMUM_HEAP_SIZE_PROPERTY_NAME

static final java.lang.String VM_MAXIMUM_HEAP_SIZE_PROPERTY_NAME
Proces Max Heap Size Property Name

See Also:
Constant Field Values

SERVER_PORT

static final java.lang.String SERVER_PORT
Proces Port Property Name

See Also:
Constant Field Values

MAX_THREADS

static final java.lang.String MAX_THREADS
Proces Max Treads Property Name

See Also:
Constant Field Values

TIMETOLIVE

static final java.lang.String TIMETOLIVE
Proces Time To Live Property Name

See Also:
Constant Field Values

INPUT_BUFFER_SIZE

static final java.lang.String INPUT_BUFFER_SIZE
Proces Import Buffer Size Property Name

See Also:
Constant Field Values

OUTPUT_BUFFER_SIZE

static final java.lang.String OUTPUT_BUFFER_SIZE
Proces Output Buffer Size Property Name

See Also:
Constant Field Values

FORCED_SHUTDOWN_TIME

static final java.lang.String FORCED_SHUTDOWN_TIME
Proces Forced Shutdown Time Property Name

See Also:
Constant Field Values

ENABLED_FLAG

static final java.lang.String ENABLED_FLAG
Proces Enabled Flag Property Name

See Also:
Constant Field Values
Method Detail

getHostIdentifier

java.lang.String getHostIdentifier()
Get the Host Identifier for this MetaMatrix Process

Returns:
String A unique identifier for the Host of 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

getMaxSockets

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

getMaxVirtualSockets

int getMaxVirtualSockets()
Returns:
Returns the maxVirtualSockets.
Since:
4.3

getObjectsRead

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

getObjectsWritten

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

getSockets

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

getVirtualSockets

int getVirtualSockets()
Returns:
Returns the virtualSockets.
Since:
4.3

getQueueWorkerPool

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


Copyright © 2009. All Rights Reserved.