class SnapshotReaderMetrics extends SnapshotChangeEventSourceMetrics implements SnapshotReaderMetricsMXBean
| Modifier and Type | Field and Description |
|---|---|
private AtomicBoolean |
holdingGlobalLock |
private MySqlSchema |
schema |
clock, lastEventTimestamp, metadataProvider, numberOfErroneousEvents, taskContext, totalNumberOfEventsSeenNO_OPNO_OP| Constructor and Description |
|---|
SnapshotReaderMetrics(MySqlTaskContext taskContext,
MySqlSchema schema,
ChangeEventQueueMetrics changeEventQueueMetrics) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getHoldingGlobalLock() |
String[] |
getMonitoredTables() |
long |
getTotalNumberOfEventsSeen() |
void |
globalLockAcquired() |
void |
globalLockReleased() |
dataCollectionSnapshotCompleted, getRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTotalTableCount, monitoredDataCollectionsDetermined, reset, rowsScanned, snapshotAborted, snapshotCompleted, snapshotStartedgetCurrentQueueSizeInBytes, getLastEvent, getMaxQueueSizeInBytes, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getQueueRemainingCapacity, getQueueTotalCapacity, onConnectorEvent, onErroneousEvent, onEvent, onFilteredEventmetricName, register, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTotalTableCountgetCurrentQueueSizeInBytes, getLastEvent, getMaxQueueSizeInBytes, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getQueueRemainingCapacity, getQueueTotalCapacity, resetprivate final AtomicBoolean holdingGlobalLock
private final MySqlSchema schema
public SnapshotReaderMetrics(MySqlTaskContext taskContext, MySqlSchema schema, ChangeEventQueueMetrics changeEventQueueMetrics)
public boolean getHoldingGlobalLock()
getHoldingGlobalLock in interface SnapshotReaderMetricsMXBeanpublic void globalLockAcquired()
public void globalLockReleased()
public String[] getMonitoredTables()
getMonitoredTables in interface ChangeEventSourceMetricsMXBeangetMonitoredTables in class SnapshotChangeEventSourceMetricspublic long getTotalNumberOfEventsSeen()
getTotalNumberOfEventsSeen in interface ChangeEventSourceMetricsMXBeangetTotalNumberOfEventsSeen in class PipelineMetricsCopyright © 2020 JBoss by Red Hat. All rights reserved.