IBM Streams 4.3.0

Using JMX APIs to manage and monitor IBM Streams

Java™ Management Extensions (JMX) APIs provide programmatic access to configuration and status information for IBM® Streams objects, such as a domain and its instances, jobs, and resources. You can manage and monitor these objects by using a set of JMX beans. A JMX bean provides attributes, operations, and notifications for working with the managed object.

About this task

Attributes generally provide configuration and state information about IBM Streams objects. The JMX APIs provide methods for getting and setting the attribute values. For example, the InstanceMXBean has a high availability count attribute, which you can get or set by using the getHighAvailabiltyCount and setHighAvailabiltyCount methods.

In addition to getting and setting attribute values, the JMX APIs provide operations for management tasks. For example, you can use operations to create, start, stop, or remove instances and to submit or cancel jobs.

Notifications provide a way to signal a value change, event, or problem. For example, you can use notifications to detect when attribute values change. You can also use notifications to monitor when significant events occur, such as when an instance, service, or job stops or starts.