Skip to main content

ModelCenter Remote Execution Java API 2025 R2

Interface: IPHXMonitorable

Last update: 16.07.2025

Package: com.phoenix_int.aserver

Known Implementing Classes

Related Interfaces and Classes

Declaration

public interface IPHXMonitorable

This is the interface that analyses which provide information about running processes should implement.

Method Summary

Modifier and Type Method and Description
java.lang.Object getMonitor(java.lang.String monitorName)
Gets a specified monitor.
java.lang.String[] listMonitorableFiles()
Lists all items that may be monitored for output as a component is running.
PHXProcessInfo[] listProcesses()
Lists all the running processes associated with a component.

Method Detail

listProcesses

PHXProcessInfo[] listProcesses()
                        throws java.io.IOException

Lists all the running processes associated with a component.

Throws:

  • java.io.IOException - If there was a problem reading information about running processes

listMonitorableFiles

java.lang.String[] listMonitorableFiles()
                                 throws java.io.IOException

Lists all items that may be monitored for output as a component is running. Note that this is normally in addition to any PHXRawFile output variables that your component exposes. Because of this, these names must not conflict with any variable names.

Throws:

  • java.io.IOException

getMonitor

java.lang.Object getMonitor(java.lang.String monitorName)
                     throws PHXNoSuchObjectException

Gets a specified monitor. This method can return PHXRawFile objects to publish files for monitoring that don't appear as a regular variable, or PHXMonitorableStream objects to publish random streams of monitor data.

Returns:

  • either a PHXRawFile or a PHXMonitorableStream object

Throws:

Connect with Ansys