Enabling and Configuring TaskInfo Reporting
By default, Task Event reporting is not enabled. To enable reporting, set the value of the SpeedLink Service Option SUMMARY_INFO_ENABLED to true. Once Task Event reporting is enabled, summary operation information is stored in the TaskInfo field of the reporting database after the Service completes. The following summary information is recorded:
| • | Number of completed operations |
| • | Number of failed operations |
| • | Service allocation time for task—specified in milliseconds |
The format of the database entry is determined by the value of the following SpeedLink Service Option: SUMMARY_INFO_FORMAT. The default value is: operations={0}, failures={1}, allocationTime={2}. You can change the value of this option; for more information about the available message format options consult the Javadoc for java.text.MessageFormat.
Set the properties described here in the createService method of your SpeedLinkServiceFactory. You can set reporting and the reporting format independently for each SpeedLink Service.