Class MysqlReplicationResult

All Implemented Interfaces:
Serializable

public class MysqlReplicationResult extends TableMultiResult implements Serializable
Author:
AO Industries, Inc.
See Also:
  • Constructor Details

    • MysqlReplicationResult

      public MysqlReplicationResult(long time, long latency, AlertLevel alertLevel, String error)
    • MysqlReplicationResult

      public MysqlReplicationResult(long time, long latency, AlertLevel alertLevel, String secondsBehindMaster, String file, String position, String slaveIoState, String masterLogFile, String readMasterLogPos, String slaveIoRunning, String slaveSqlRunning, String lastErrno, String lastError, String alertThresholds)
  • Method Details

    • getRowDataSize

      public int getRowDataSize()
      Description copied from class: TableMultiResult
      Gets the number of data elements for this result.
      Specified by:
      getRowDataSize in class TableMultiResult
    • getRowData

      public String getRowData(int index)
      Description copied from class: TableMultiResult
      Gets the data for one row. This should not include the time and latency, they are implied. When there is an error, getRowData will not be checked and should return null.
      Specified by:
      getRowData in class TableMultiResult
    • getSecondsBehindMaster

      public String getSecondsBehindMaster()
    • getFile

      public String getFile()
    • getPosition

      public String getPosition()
    • getSlaveIoState

      public String getSlaveIoState()
    • getMasterLogFile

      public String getMasterLogFile()
    • getReadMasterLogPos

      public String getReadMasterLogPos()
    • getSlaveIoRunning

      public String getSlaveIoRunning()
    • getSlaveSqlRunning

      public String getSlaveSqlRunning()
    • getLastErrno

      public String getLastErrno()
    • getLastError

      public String getLastError()
    • getAlertThresholds

      public String getAlertThresholds()