public interface ReplicationQueue
ReplicationQueue
...Modifier and Type | Interface and Description |
---|---|
static interface |
ReplicationQueue.Entry
Defines an entry of the replication queue
|
static interface |
ReplicationQueue.Status
Informational status of this queue
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this queue
|
void |
clear(java.util.Set<java.lang.String> ids)
Clears the entries with the id's specified in the set.
|
java.util.List<ReplicationQueue.Entry> |
entries()
Returns an unmodifiable list of all entries in this queue.
|
java.util.List<ReplicationQueue.Entry> |
entries(java.lang.String path)
Returns an unmodifiable list of entries for the given path.
|
void |
forceRetry()
Forces a retry attempt on a blocked entry.
|
ReplicationQueue.Entry |
getEntry(java.lang.String path,
java.util.Calendar after)
Returns the entry that matches the given path and was scheduled after
the given time.
|
java.lang.String |
getName()
Returns the name of this queue
|
ReplicationQueue.Status |
getStatus()
Returns the queue status
|
boolean |
isBlocked()
Deprecated.
since 5.4. use
getStatus() instead |
boolean |
isPaused()
Returns
true if this queue is paused. |
long |
lastProcessTime()
Deprecated.
since 5.4. use
getStatus() instead |
long |
nextRetryPeriod()
Deprecated.
since 5.4. use
getStatus() instead |
void |
setPaused(boolean paused)
Controls if this queue should be paused.
|
java.lang.String getName()
java.util.List<ReplicationQueue.Entry> entries()
java.util.List<ReplicationQueue.Entry> entries(java.lang.String path)
path
- replication pathReplicationQueue.Entry getEntry(java.lang.String path, java.util.Calendar after)
path
- the pathafter
- the schedule time or null
null
void clear()
void clear(java.util.Set<java.lang.String> ids)
ids
- the ids of the entries to removeboolean isBlocked()
getStatus()
insteadtrue
if this queue is blocked by an undeliverable entry.true
if blocked.boolean isPaused()
true
if this queue is paused.true
if paused.void setPaused(boolean paused)
paused
- true
to pauselong lastProcessTime()
getStatus()
insteadlong nextRetryPeriod()
getStatus()
insteadReplicationQueue.Status getStatus()
void forceRetry()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"