class SnapshotReaderMetrics extends SnapshotChangeEventSourceMetrics implements SnapshotReaderMetricsMXBean
| Modifier and Type | Field and Description |
|---|---|
private AtomicBoolean |
holdingGlobalLock |
private MySqlSchema |
schema |
clock, lastEventTimestamp, numberOfEventsSkipped, taskContext, totalNumberOfEventsSeenNO_OPNO_OP| Constructor and Description |
|---|
SnapshotReaderMetrics(MySqlTaskContext taskContext,
MySqlSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getHoldingGlobalLock() |
String[] |
getMonitoredTables() |
void |
globalLockAcquired() |
void |
globalLockReleased() |
getRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTotalTableCount, monitoredTablesDetermined, reset, rowsScanned, snapshotAborted, snapshotCompleted, snapshotStarted, tableSnapshotCompletedgetLastEvent, getMilliSecondsSinceLastEvent, getNumberOfEventsSkipped, getTotalNumberOfEventsSeen, onEvent, onSkippedEvent, register, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTotalTableCountgetLastEvent, getMilliSecondsSinceLastEvent, getNumberOfEventsSkipped, getTotalNumberOfEventsSeen, resetprivate final AtomicBoolean holdingGlobalLock
private final MySqlSchema schema
public SnapshotReaderMetrics(MySqlTaskContext taskContext, MySqlSchema schema)
public boolean getHoldingGlobalLock()
getHoldingGlobalLock in interface SnapshotReaderMetricsMXBeanpublic void globalLockAcquired()
public void globalLockReleased()
public String[] getMonitoredTables()
getMonitoredTables in interface ChangeEventSourceMetricsMXBeangetMonitoredTables in class SnapshotChangeEventSourceMetricsCopyright © 2018 JBoss by Red Hat. All rights reserved.