Package com.day.cq.replication
Interface ReplicationQueue.Entry
- Enclosing interface:
ReplicationQueue
public static interface ReplicationQueue.Entry
Defines an entry of the replication queue
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the replication actionReturns the replication content ornullif this entry was delivered.getId()Returns the entry idReturns the last time this entry was tried to processintReturns the number of times this entry was tried to processgetQueue()Returns 'my' queueintReturns the queue position of this entry
-
Field Details
-
EMPTY_ARRAY
Empty array of entries
-
-
Method Details
-
getId
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
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
-