MM Inference Agent Methods

MM Inference Agent is group of methods you can use to manage a deployed cluster.

Inference Agent Methods
Property Notes
Agent Group
GetNumberOfEvents Retrieves the total number of events currently in the agent’s Rete network. Note that events with time to live zero (ttl=0) do not persist in the Rete network.
GetNumberOfInstances Retrieves the total number of concept instances existing in this agent’s Rete network.
Resume Resumes the execution of this agent.
Suspend Suspends the execution of this agent.
Channels Group
GetSessionInputDestinations Retrieves the destinations enabled for input in this agent.
Object Management Group
GetEvent Retrieves the event with the specified ID from this agent.
GetInstance Retrieves the concept instance with the specified ID from this agent.
GetScorecards If URI is not provided: Returns a table with of all of the scorecards in this agent.

If URI is provided: Retrieves the agent's scorecard information.

Profiler Group

The performance profiler is primarily used towards the end of the development phase, to check for bottlenecks and refine the project design. For full details about using profiler as well as a detailed reference, see Performance Profiler in TIBCO BusinessEvents Developer’s Guide.

StartFileBasedProfiler Turns on the profiler and starts collecting data for the specified duration. When the time is complete or the profiler is turned off, profiling data is saved to a file in a comma-separated format.
StopFileBasedProfiler Turns off the profiler and stops collecting data.
Working Memory Group
ActivateRule Activates the specified rule in this agent.
DeactivateRule Deactivates the specified rule in this agent.
ResetTotalNumberRulesFired Resets to zero the total number of rules fired in this agent, resetting the statistics.
GetWorkingMemoryDump Retrieves the working memory dump of this agent.
GetRule Retrieves information about the rule with the specified URI in this agent.
GetRules Retrieves a table listing the rules deployed in this agent.
GetTotalNumberRulesFired Retrieves a table listing the total number of rules fired in this agent since startup or since statistics were last reset.
GetRuleSession Retrieves a table with the name of this agent.