Java™ Platform
Standard Ed. 8
compact3
javax.management.monitor

Class StringMonitor

  • All Implemented Interfaces:
    MBeanRegistration, MonitorMBean, StringMonitorMBean, NotificationBroadcaster, NotificationEmitter


    public class StringMonitor
    extends Monitor
    implements StringMonitorMBean
    Defines a monitor MBean designed to observe the values of a string attribute.

    A string monitor sends notifications as follows:

    • if the attribute value matches the string to compare value, a match notification is sent. The notify match flag must be set to true.
      Subsequent matchings of the string to compare values do not cause further notifications unless the attribute value differs from the string to compare value.
    • if the attribute value differs from the string to compare value, a differ notification is sent. The notify differ flag must be set to true.
      Subsequent differences from the string to compare value do not cause further notifications unless the attribute value matches the string to compare value.
    Since:
    1.5
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部