Interface StatisticsProvider

All Known Implementing Classes:
RecoveryStatistic

public interface StatisticsProvider
Recovery process statistics provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns count of recovered partitions for specified table.
    long
    Returns count of recovered rows.
    long
    recoveredRowsForPartition(int tableId, int partitionId)
    Returns count of recovered rows for specified partition and table.
    long
    recoveredRowsForTable(int tableId)
    Returns count of recovered rows for specified table.
    long
    Returns count of recovered tables.
    long
    Returns time spend for recovery process in millis.
    long
    recoveryTimeForPartition(int tableId, int partitionId)
    Returns time spend for recovery process in millis for specified partition and table.
    long
    recoveryTimeForTable(int tableId)
    Returns time spend for recovery process in millis for specified table.
  • Method Details

    • recoveredTables

      long recoveredTables()
      Returns count of recovered tables.
    • recoveredPartitionsForTable

      long recoveredPartitionsForTable(int tableId)
      Returns count of recovered partitions for specified table.
      Parameters:
      tableId - Table id.
    • recoveredRows

      long recoveredRows()
      Returns count of recovered rows.
    • recoveredRowsForTable

      long recoveredRowsForTable(int tableId)
      Returns count of recovered rows for specified table.
      Parameters:
      tableId - Table id.
    • recoveredRowsForPartition

      long recoveredRowsForPartition(int tableId, int partitionId)
      Returns count of recovered rows for specified partition and table.
      Parameters:
      tableId - Table id.
      partitionId - Partition id.
    • recoveryTime

      long recoveryTime()
      Returns time spend for recovery process in millis.
    • recoveryTimeForTable

      long recoveryTimeForTable(int tableId)
      Returns time spend for recovery process in millis for specified table.
      Parameters:
      tableId - Table id.
    • recoveryTimeForPartition

      long recoveryTimeForPartition(int tableId, int partitionId)
      Returns time spend for recovery process in millis for specified partition and table.
      Parameters:
      tableId - Table id.