Interface ReplicationQueue.Entry

  • Enclosing interface:
    ReplicationQueue

    public static interface ReplicationQueue.Entry
    Defines an entry of the replication queue
    • 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 or null 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