JmxEventEmitterMBean (Groovy 5.0.6)
Description: declaration: package: groovy.jmx.builder, interface: JmxEventEmitterMBean

Package groovy.jmx.builder

# Interface JmxEventEmitterMBean

All Known Implementing Classes:
  `JmxEventEmitter`

public interface JmxEventEmitterMBean
This is the management interface for JmxEventEmitter. This MBean is used internally by JmxBuilder to broadcast events to registered listeners of the underlying MBeanServer.

See Also:
  - `JmxEventEmitter`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getEvent()`
  Getter - returns event thrown by emitter.
  `long`
  `send(Object data)`
  Method called to dispatch event on event bus.
  `void`
  `setEvent(String event)`
  Setter - sets event thrown by Emitter.

- ## Method Details

  - ### getEvent

    String getEvent()
    Getter - returns event thrown by emitter.
    Returns:
      event type string

  - ### setEvent

    void setEvent(String event)
    Setter - sets event thrown by Emitter.
    Parameters:
      `event` - - event type string

  - ### send

    long send(Object data)
    Method called to dispatch event on event bus.
    Parameters:
      `data` - - data sent to listeners.
    Returns:
      - a sequence id generated for event.