Class DistributionQueueStatus

java.lang.Object
org.apache.sling.distribution.queue.DistributionQueueStatus

public final class DistributionQueueStatus extends Object
The status of a certain DistributionQueue
  • Constructor Details

    • DistributionQueueStatus

      public DistributionQueueStatus(int itemsCount, @NotNull @NotNull DistributionQueueState queueState)
  • Method Details

    • getItemsCount

      public int getItemsCount()
      get the no. of items in the queue
      Returns:
      the no. of items in the queue
    • getState

      public DistributionQueueState getState()
      get the state associated with the status of this queue
      Returns:
      a DistributionQueueItemState
    • isEmpty

      public boolean isEmpty()
      check if the queue is empty
      Returns:
      true if the queue is empty