Watch operations
The watch operations are defined in the interface com.apama.engine.beans.interfaces.WatchOperationsInterface.
These are implemented in com.apama.engine.beans.EngineClientBean.
The following bound properties are available in this bean; “status” and “statusPollingInterval”, the full names being PROPERTY_STATUS and PROPERTY_STATUS_POLLING_INTERVAL.
The watch operations are:
EngineStatus getRemoteStatus() - Request the remote correlator (or engine) status. This method will not store the status result, and is available as an alternative to the background polling service. If a connection is not yet established, this method will request a connection.
EngineStatus getStatus() - Get the most recently recorded status. Note that calling this method does not invoke a remote call to a correlator, but simply returns the last known status as collected by the internal worker thread.
int getStatusPollingInterval() - Get the
statusPollingInterval (in milliseconds) that the background thread should wait between calls for new status information.
void setStatusPollingInterval(int newStatusPollingInterval) - Set the
statusPollingInterval (in milliseconds) that the background thread should wait between calls for new status information.
void startStatusPollingThread() - Start the local status polling thread.
void stopStatusPollingThread() - Stop the local status polling thread.