@ThreadSafe public class StreamingChangeEventSourceMetrics extends Metrics implements StreamingChangeEventSourceMetricsMXBean, DataChangeEventListener
| Modifier and Type | Field and Description |
|---|---|
private AtomicBoolean |
connected |
clock, lastEventTimestamp, numberOfEventsSkipped, taskContext, totalNumberOfEventsSeenNO_OP| Constructor and Description |
|---|
StreamingChangeEventSourceMetrics(T taskContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
connected(boolean connected) |
String[] |
getMonitoredTables() |
boolean |
isConnected() |
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfEventsSkipped, getTotalNumberOfEventsSeen, onEvent, onSkippedEvent, register, reset, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastEvent, getMilliSecondsSinceLastEvent, getNumberOfEventsSkipped, getTotalNumberOfEventsSeen, resetonEvent, onSkippedEventprivate final AtomicBoolean connected
public StreamingChangeEventSourceMetrics(T taskContext)
public boolean isConnected()
isConnected in interface StreamingChangeEventSourceMetricsMXBeanpublic String[] getMonitoredTables()
getMonitoredTables in interface ChangeEventSourceMetricsMXBeanpublic void connected(boolean connected)
Copyright © 2019 JBoss by Red Hat. All rights reserved.