Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Engine.Client.ICorrelatorManagement Interface Reference

ICorrelatorManagement is the interface for all management operations that can be performed on an Apama Correlator. More...

Inherits IBaseClient.

Inherited by Apama.Engine.Client.IEngineClient.

Public Member Functions

void CancelDeleteFileRead ()
 Setter for the cancelFileRead property for the Kill operations. The purpose of the cancelFileRead property is to provide a mechanism to cleanly terminate the processing of events from file, when the deleteNamesFromFile() or killNamesFromFile() method is in progress. When cancelFileRead is set to true, the Name deleting loop will terminate at the next iteration. More...
 
EngineInfo GetEngineInfo ()
 Get the most recently recorded inspection information. Note that calling this method does NOT invoke a remote call to a correlator, but simply returns the last known information as collected by the internal worker thread, if that thread is running. More...
 
EngineInfo GetRemoteEngineInfo ()
 Request the remote Engine inspection info. This method will not store the inspection 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. More...
 
EngineStatus GetRemoteStatus ()
 Request the remote 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. More...
 
void KillName (string name)
 Kill a named monitor from the engine. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection. More...
 
void KillNames (params string[] names)
 Kill a number of named monitors. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection. More...
 
void KillNamesFromFile (params string[] fileNames)
 Kill a number of named monitors from a file or stdin. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection. More...
 
void KillNamesFromFile (string[] fileNames, bool utf8)
 Kill a number of named monitors from a file or stdin. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection. More...
 
void StartInspectPollingThread ()
 Start the local inspect polling thread. If a connection is not yet established, this method will request a connection. More...
 
void StartStatusPollingThread ()
 Start the local status polling thread. If a connection is not yet established, this method will request a connection. More...
 
void StopInspectPollingThread ()
 Stop the local inspect polling thread. More...
 
void StopStatusPollingThread ()
 Stop the local status polling thread. More...
 

Properties

int InspectPollingInterval [get, set]
 Get/set the inspectPollingInterval (in milliseconds) that the background thread should wait between calls for new information. More...
 
EngineStatus Status [get]
 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. More...
 
int StatusPollingInterval [get, set]
 Get/set the statusPollingInterval (in milliseconds) that the background thread should wait between calls for new status information. More...
 

Detailed Description

ICorrelatorManagement is the interface for all management operations that can be performed on an Apama Correlator.

See also
IMessagingClient

See Apama.Engine.Client.EngineClientConstants for constants used by this interface.

Member Function Documentation

void Apama.Engine.Client.ICorrelatorManagement.CancelDeleteFileRead ( )

Setter for the cancelFileRead property for the Kill operations. The purpose of the cancelFileRead property is to provide a mechanism to cleanly terminate the processing of events from file, when the deleteNamesFromFile() or killNamesFromFile() method is in progress. When cancelFileRead is set to true, the Name deleting loop will terminate at the next iteration.

EngineInfo Apama.Engine.Client.ICorrelatorManagement.GetEngineInfo ( )

Get the most recently recorded inspection information. Note that calling this method does NOT invoke a remote call to a correlator, but simply returns the last known information as collected by the internal worker thread, if that thread is running.

Returns
the most recently recorded EngineInfo object. To be informed whenever the information changes, register a property change listener.
EngineInfo Apama.Engine.Client.ICorrelatorManagement.GetRemoteEngineInfo ( )

Request the remote Engine inspection info. This method will not store the inspection 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.

Returns
the information found as obtained by directly inspecting the Engine.
Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
EngineStatus Apama.Engine.Client.ICorrelatorManagement.GetRemoteStatus ( )

Request the remote 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.

Returns
The status as obtained directly from an Engine.
Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
void Apama.Engine.Client.ICorrelatorManagement.KillName ( string  name)

Kill a named monitor from the engine. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection.

Parameters
nameThe name to be deleted.
Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
void Apama.Engine.Client.ICorrelatorManagement.KillNames ( params string[]  names)

Kill a number of named monitors. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection.

Parameters
namesNames to be deleted.
void Apama.Engine.Client.ICorrelatorManagement.KillNamesFromFile ( params string[]  fileNames)

Kill a number of named monitors from a file or stdin. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection.

Parameters
fileNamesNames of files to read Names from. A file name "-" is taken to be stdin.
Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
void Apama.Engine.Client.ICorrelatorManagement.KillNamesFromFile ( string[]  fileNames,
bool  utf8 
)

Kill a number of named monitors from a file or stdin. Note that this will kill running monitors in such as way as to break the fault tolerance scheme. If a connection is not yet established, this method will request a connection.

Parameters
fileNamesNames of files to read Names from. A file name "-" is taken to be stdin.
utf8If true, the specified files will be read as UTF-8; otherwise they will be read using the system default encoding unless they begin with a unicode Byte Order Mark (BOM) character.
Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
void Apama.Engine.Client.ICorrelatorManagement.StartInspectPollingThread ( )

Start the local inspect polling thread. If a connection is not yet established, this method will request a connection.

Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
void Apama.Engine.Client.ICorrelatorManagement.StartStatusPollingThread ( )

Start the local status polling thread. If a connection is not yet established, this method will request a connection.

Exceptions
Apama.EngineExceptionThrown if any exceptions occur in the Client SDK.
void Apama.Engine.Client.ICorrelatorManagement.StopInspectPollingThread ( )

Stop the local inspect polling thread.

void Apama.Engine.Client.ICorrelatorManagement.StopStatusPollingThread ( )

Stop the local status polling thread.

Property Documentation

int Apama.Engine.Client.ICorrelatorManagement.InspectPollingInterval
getset

Get/set the inspectPollingInterval (in milliseconds) that the background thread should wait between calls for new information.

Returns
Polling interval in milliseconds.
EngineStatus Apama.Engine.Client.ICorrelatorManagement.Status
get

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.

Returns
the most recently status object. To be informed whenever the status changes, register a property change listener.
int Apama.Engine.Client.ICorrelatorManagement.StatusPollingInterval
getset

Get/set the statusPollingInterval (in milliseconds) that the background thread should wait between calls for new status information.

Returns
Polling interval in milliseconds.
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.