Class DistributionQueueStatus


  • public final class DistributionQueueStatus
    extends java.lang.Object
    The status of a certain DistributionQueue
    • Constructor Detail

      • DistributionQueueStatus

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

      • getItemsCount

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

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