FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
Constant summary | |
---|---|
integer | CONNECT_LEGACY := 0 Argument for attach/detachAsEventConsumer - use legacy mode. In this mode, all events are delivered in serial to the receiver on the default channel. |
integer | CONNECT_PARALLEL := 1 Argument for attach/detachAsEventConsumer - use parallel mode. In this mode, all events are delivered in parallel per channel. |
Action summary | |
---|---|
void | static attachAsEventConsumerTo(string host, integer port, sequence<string> channels, boolean disconnectSlow, integer connectMode) Connect to another Apama component to receive events on the specified channels. connectMode should be one of CONNECT_LEGACY or CONNECT_PARALLEL. |
void | static deleteUserStatus(string name) Delete a specific user added status. |
void | static detachAsEventConsumerFrom(string host, integer port, sequence<string> channels, integer connectMode) Disconnect from another Apama component to receive events on the specified channels. connectMode should be one of CONNECT_LEGACY or CONNECT_PARALLEL. |
string | static getComponentName() Get the component name of the correlator. |
string | static getComponentPhysicalId() Get a unique identifier for this correlator instance. |
integer | static getComponentPort() Get the port the correlator is running on. |
dictionary<string, string> | static getConfigProperties() Return a dictionary of all the configuration properties defined for this component. Includes both properties defined in .properties files and on the command line. |
string | static getHostname() Get the hostname of the server the correlator is running on. |
dictionary<string, string> | static getInfo(string category) Get a dictionary of additional information about this component corresponding to the specified category. |
string | static getLicenseMode() Get the current license mode of the correlator - either "nolicensefile" or "licensefilesupplied". |
integer | static getNumberCPUs() Get the number of CPUs the correlator has available to it. |
com.apama.correlator.EngineStatus | static getStatus() Get the correlator status, internal values and user added stats. |
void | static incrementUserStatus(string name, integer change) Increment a user status value. Status value must either not exist, be the empty string, or be set to a string representation of an integer. |
boolean | static isExternallyClocked() Get whether or not correlator is running with external clocking on. |
void | static setUserStatus(string name, string value) Set a specific value on a user added status. If the status does not already exist, this will add it. |
Constant detail |
---|
integer CONNECT_LEGACY := 0Argument for attach/detachAsEventConsumer - use legacy mode. In this mode, all events are delivered in serial to the receiver on the default channel.
integer CONNECT_PARALLEL := 1Argument for attach/detachAsEventConsumer - use parallel mode. In this mode, all events are delivered in parallel per channel.
Action detail |
---|
void static attachAsEventConsumerTo(string host, integer port, sequence<string> channels, boolean disconnectSlow, integer connectMode)Connect to another Apama component to receive events on the specified channels. connectMode should be one of CONNECT_LEGACY or CONNECT_PARALLEL.
void static deleteUserStatus(string name)Delete a specific user added status.
void static detachAsEventConsumerFrom(string host, integer port, sequence<string> channels, integer connectMode)Disconnect from another Apama component to receive events on the specified channels. connectMode should be one of CONNECT_LEGACY or CONNECT_PARALLEL.
string static getComponentName()Get the component name of the correlator.
string static getComponentPhysicalId()Get a unique identifier for this correlator instance.
integer static getComponentPort()Get the port the correlator is running on.
dictionary<string, string> static getConfigProperties()Return a dictionary of all the configuration properties defined for this component. Includes both properties defined in .properties files and on the command line.
string static getHostname()Get the hostname of the server the correlator is running on.
dictionary<string, string> static getInfo(string category)Get a dictionary of additional information about this component corresponding to the specified category.
string static getLicenseMode()Get the current license mode of the correlator - either "nolicensefile" or "licensefilesupplied".
integer static getNumberCPUs()Get the number of CPUs the correlator has available to it.
com.apama.correlator.EngineStatus static getStatus()Get the correlator status, internal values and user added stats.
void static incrementUserStatus(string name, integer change)Increment a user status value. Status value must either not exist, be the empty string, or be set to a string representation of an integer.
boolean static isExternallyClocked()Get whether or not correlator is running with external clocking on.
void static setUserStatus(string name, string value)Set a specific value on a user added status. If the status does not already exist, this will add it.
integer counter := 100;
com.apama.correlator.Component.setUserStatus("myCounter",counter.toString())The key and value can be seen in the Watch tab of the running correlator.
http://host:port/correlator/status
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |