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 Modifier and Type Field Description static ReplicationQueue.Entry[]
EMPTY_ARRAY
Empty array of entries
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicationAction
getAction()
Returns the replication actionReplicationContentFacade
getContent()
Returns the replication content ornull
if this entry was delivered.java.lang.String
getId()
Returns the entry idjava.util.Calendar
getLastProcessTime()
Returns the last time this entry was tried to processint
getNumProcessed()
Returns the number of times this entry was tried to processReplicationQueue
getQueue()
Returns 'my' queueint
getQueuePosition()
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 ornull
if 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
-
-