class BinlogReaderMetrics extends Metrics implements BinlogReaderMetricsMXBean
| Modifier and Type | Field and Description |
|---|---|
private com.github.shyiko.mysql.binlog.BinaryLogClient |
client |
private com.github.shyiko.mysql.binlog.jmx.BinaryLogClientStatistics |
stats |
| Constructor and Description |
|---|
BinlogReaderMetrics(com.github.shyiko.mysql.binlog.BinaryLogClient client) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBinlogFilename() |
long |
getBinlogPosition() |
String |
getGtidSet() |
String |
getLastEvent() |
long |
getNumberOfDisconnects() |
long |
getNumberOfSkippedEvents() |
long |
getSecondsBehindMaster() |
long |
getSecondsSinceLastEvent() |
long |
getTotalNumberOfEventsSeen() |
boolean |
isConnected() |
void |
reset() |
register, unregisterprivate final com.github.shyiko.mysql.binlog.BinaryLogClient client
private final com.github.shyiko.mysql.binlog.jmx.BinaryLogClientStatistics stats
public BinlogReaderMetrics(com.github.shyiko.mysql.binlog.BinaryLogClient client)
public boolean isConnected()
isConnected in interface BinlogReaderMetricsMXBeanpublic String getBinlogFilename()
getBinlogFilename in interface BinlogReaderMetricsMXBeanpublic long getBinlogPosition()
getBinlogPosition in interface BinlogReaderMetricsMXBeanpublic String getGtidSet()
getGtidSet in interface BinlogReaderMetricsMXBeanpublic String getLastEvent()
getLastEvent in interface BinlogReaderMetricsMXBeanpublic long getSecondsSinceLastEvent()
getSecondsSinceLastEvent in interface BinlogReaderMetricsMXBeanpublic long getSecondsBehindMaster()
getSecondsBehindMaster in interface BinlogReaderMetricsMXBeanpublic long getTotalNumberOfEventsSeen()
getTotalNumberOfEventsSeen in interface BinlogReaderMetricsMXBeanpublic long getNumberOfSkippedEvents()
getNumberOfSkippedEvents in interface BinlogReaderMetricsMXBeanpublic long getNumberOfDisconnects()
getNumberOfDisconnects in interface BinlogReaderMetricsMXBeanpublic void reset()
reset in interface BinlogReaderMetricsMXBeanCopyright © 2017 JBoss by Red Hat. All rights reserved.