Class ActiveResourceQueue
- java.lang.Object
-
- org.apache.sling.distribution.queue.impl.resource.ResourceQueue
-
- org.apache.sling.distribution.queue.impl.resource.ActiveResourceQueue
-
- All Implemented Interfaces:
DistributionQueue
public class ActiveResourceQueue extends ResourceQueue
-
-
Field Summary
-
Fields inherited from class org.apache.sling.distribution.queue.impl.resource.ResourceQueue
queueName, queueRootPath, resolverFactory, serviceName
-
-
Constructor Summary
Constructors Constructor Description ActiveResourceQueue(org.apache.sling.api.resource.ResourceResolverFactory resolverFactory, String serviceName, String queueName, String rootPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull DistributionQueueStatusgetStatus()get the status of the queuevoidrecordProcessingAttempt(@NotNull DistributionQueueEntry entry)-
Methods inherited from class org.apache.sling.distribution.queue.impl.resource.ResourceQueue
add, clear, getEntries, getEntry, getHead, getName, getType, hasCapability, remove, remove
-
-
-
-
Method Detail
-
getStatus
@NotNull public @NotNull DistributionQueueStatus getStatus()
Description copied from interface:DistributionQueueget the status of the queue- Specified by:
getStatusin interfaceDistributionQueue- Overrides:
getStatusin classResourceQueue- Returns:
- the queue status
-
recordProcessingAttempt
public void recordProcessingAttempt(@NotNull @NotNull DistributionQueueEntry entry)
-
-