Interface ReplicationQueue.Status

Enclosing interface:
ReplicationQueue

public static interface ReplicationQueue.Status
Informational status of this queue
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the time when the last entry was processed.
    long
    Returns the time when the next retry is performed if the queue is blocked or 0 otherwise.
    long
    Gets the time since the queue is processing an entry or 0 if the queue is currently blocked or idle.
    long
    Gets the time when this status was generated.
  • Method Details

    • getStatusTime

      long getStatusTime()
      Gets the time when this status was generated.
      Returns:
      the time this status was generated.
    • getNextRetryTime

      long getNextRetryTime()
      Returns the time when the next retry is performed if the queue is blocked or 0 otherwise.
      Returns:
      the time for next retry
    • getProcessingSince

      long getProcessingSince()
      Gets the time since the queue is processing an entry or 0 if the queue is currently blocked or idle.
      Returns:
      the time since the queue is processing an entry
    • getLastProcessTime

      long getLastProcessTime()
      Returns the time when the last entry was processed.
      Returns:
      the last process time (in ms).