Online Helps > Rule Execution Server Console > Monitoring Ruleset Execution > The Ruleset Statistics View

The Ruleset Statistics View displays a ruleset execution statistics table for each Execution Unit (XU) in the configuration as well as consolidated statistics on the entire cluster. The statistics table contains the following columns:

A single execution will give results for either the Ruleset Execution column or the Task Execution column depending on the mode of execution.

The mode depends on the state of the request, that is, an instance of the IlrSessionRequest class.

If the setTaskName(java.lang.String taskName) method is called, the mode of execution is reported as a Task Execution. If this method is not called, the mode of execution is reported as a Ruleset Execution.

The following code will set the mode of execution to Task Execution:

IlrRuleSessionProvider provider = new IlrRuleSessionProviderFactory.Builder(
   IlrRuleSessionProviderFactory.SIMPLE_RULESESSION_PROVIDER).build();
IlrStatelessRuleSession session = provider.createStatelessRuleSession();
IlrSessionRequest request = new IlrSessionRequest("myRuleApp/myRuleset");
request.getExecutionSettings().setTaskName("myTask");
session.executeRules(request);

The ruleset statistics table provides information on:

See Also

Viewing Server Logged Events