Class DistributionQueueStatus
- java.lang.Object
 - 
- org.apache.sling.distribution.queue.DistributionQueueStatus
 
 
- 
public final class DistributionQueueStatus extends java.lang.ObjectThe status of a certainDistributionQueue 
- 
- 
Constructor Summary
Constructors Constructor Description DistributionQueueStatus(int itemsCount, @NotNull DistributionQueueState queueState) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetItemsCount()get the no.DistributionQueueStategetState()get the state associated with the status of this queuebooleanisEmpty()check if the queue is empty 
 - 
 
- 
- 
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
 
 
- 
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:
 trueif the queue is empty
 
 - 
 
 -