@ParametersAreNonnullByDefault public class PubQueueCache extends Object
| Constructor and Description |
|---|
PubQueueCache(QueuedCallback queuedCallback,
CacheCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected long |
getMinOffset() |
OffsetQueue<org.apache.sling.distribution.queue.DistributionQueueItem> |
getOffsetQueue(String pubAgentName,
long minOffset) |
int |
size() |
public PubQueueCache(QueuedCallback queuedCallback, CacheCallback callback)
@Nonnull public OffsetQueue<org.apache.sling.distribution.queue.DistributionQueueItem> getOffsetQueue(String pubAgentName, long minOffset) throws InterruptedException
InterruptedExceptionpublic int size()
public void close()
protected long getMinOffset()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.