Class JmxNotificationChannel
java.lang.Object
javax.management.NotificationBroadcasterSupport
io.debezium.pipeline.notification.channels.jmx.JmxNotificationChannel
- All Implemented Interfaces:
JmxNotificationChannelMXBean,NotificationChannel,NotificationBroadcaster,NotificationEmitter
public class JmxNotificationChannel
extends NotificationBroadcasterSupport
implements NotificationChannel, JmxNotificationChannelMXBean
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate CommonConnectorConfigprivate static final Stringprivate static final org.slf4j.Loggerprivate final List<Notification>private final AtomicLong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate NotificationbuildJmxNotification(Notification notification) voidclose()private StringcomposeMessage(Notification notification) voidinit(CommonConnectorConfig connectorConfig) name()voidreset()voidsend(Notification notification) Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CHANNEL_NAME
- See Also:
-
DEBEZIUM_NOTIFICATION_TYPE
- See Also:
-
notifications
-
notificationSequence
-
connectorConfig
-
-
Constructor Details
-
JmxNotificationChannel
public JmxNotificationChannel()
-
-
Method Details
-
name
- Specified by:
namein interfaceNotificationChannel
-
init
- Specified by:
initin interfaceNotificationChannel
-
send
- Specified by:
sendin interfaceNotificationChannel
-
buildJmxNotification
-
composeMessage
-
close
public void close()- Specified by:
closein interfaceNotificationChannel
-
getNotifications
- Specified by:
getNotificationsin interfaceJmxNotificationChannelMXBean
-
reset
public void reset()- Specified by:
resetin interfaceJmxNotificationChannelMXBean
-
getNotificationInfo
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster- Overrides:
getNotificationInfoin classNotificationBroadcasterSupport
-