Interface SwapSummary


public interface SwapSummary

Provides a summary of the information that is stored in a FlowFile swap file.

  • Method Details

    • getQueueSize

      QueueSize getQueueSize()
      Returns:
      a QueueSize that represents the number of FlowFiles are in the swap file and their aggregate content size
    • getMaxFlowFileId

      Long getMaxFlowFileId()
      Returns:
      the largest ID of any of the FlowFiles that are contained in the swap file
    • getResourceClaims

      List<ResourceClaim> getResourceClaims()
      Returns a List of all ResourceClaims that are referenced by the FlowFiles in the swap file. This List may well contain the same ResourceClaim many times. This indicates that many FlowFiles reference the same ResourceClaim.
      Returns:
      a List of all ResourceClaims that are referenced by the FlowFiles in the swap file
    • getMinLastQueueDate

      Long getMinLastQueueDate()
      Returns:
      The minimum lastQueueDate of all FlowFiles that are currently stored in this queue.
    • getTotalLastQueueDate

      Long getTotalLastQueueDate()
      Returns:
      The sum of all the lastQueueDates of all FlowFiles that are currently stored in this queue.