Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6336980

NotificationBroadcasterSupport: to tell whether there are listeners and to do clear

    Details

    • Subcomponent:
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      Sometimes it is relatively costly to construct a Notification for a given event. It would be useful to be able to discover whether the NotificationBroadcasterSupport you are going to send the Notification on has any listeners, and not bother sending if not.

      Note that the RMIConnectorServer will add a listener to all MBeans that are NotificationBroadcasters the first time any client adds a listener to any MBean. So this RFE is probably only worth addressing if an alternative to this behaviour is provided.

        Attachments

          Activity

            People

            • Assignee:
              sjiang Shanliang Jiang (Inactive)
              Reporter:
              emcmanus Eamonn McManus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: