Package com.day.cq.replication
Interface ReplicationQueue.Entry
-
- Enclosing interface:
- ReplicationQueue
public static interface ReplicationQueue.EntryDefines an entry of the replication queue
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicationQueue.Entry[]EMPTY_ARRAYEmpty array of entries
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicationActiongetAction()Returns the replication actionReplicationContentFacadegetContent()Returns the replication content ornullif this entry was delivered.java.lang.StringgetId()Returns the entry idjava.util.CalendargetLastProcessTime()Returns the last time this entry was tried to processintgetNumProcessed()Returns the number of times this entry was tried to processReplicationQueuegetQueue()Returns 'my' queueintgetQueuePosition()Returns the queue position of this entry
-
-
-
Field Detail
-
EMPTY_ARRAY
static final ReplicationQueue.Entry[] EMPTY_ARRAY
Empty array of entries
-
-
Method Detail
-
getId
java.lang.String getId()
Returns the entry id- Returns:
- the entry id
-
getQueue
ReplicationQueue getQueue()
Returns 'my' queue- Returns:
- the queue of this entry
-
getAction
ReplicationAction getAction()
Returns the replication action- Returns:
- the replication action
-
getContent
ReplicationContentFacade getContent()
Returns the replication content ornullif this entry was delivered.- Returns:
- the replication content
-
getQueuePosition
int getQueuePosition()
Returns the queue position of this entry- Returns:
- the queue position
-
getLastProcessTime
java.util.Calendar getLastProcessTime()
Returns the last time this entry was tried to process- Returns:
- the last process time
-
getNumProcessed
int getNumProcessed()
Returns the number of times this entry was tried to process- Returns:
- number of processes
-
-