java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<IDMQueueEntity,Long>
org.exoplatform.services.organization.idm.externalstore.jpa.IDMQueueDAO
All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<IDMQueueEntity,Long>

public class IDMQueueDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<IDMQueueEntity,Long>
  • Constructor Details

    • IDMQueueDAO

      public IDMQueueDAO()
  • Method Details

    • countAllNotProcessedAndMaxNbRetries

      public int countAllNotProcessedAndMaxNbRetries(int maxRetries)
    • countAllNotProcessedAndNbRetries

      public int countAllNotProcessedAndNbRetries(int nbRetries)
    • getEntriesNotProcessedWithNBRetries

      public List<IDMQueueEntity> getEntriesNotProcessedWithNBRetries(int nbRetries, int limit)
    • setProcessed

      public void setProcessed(List<Long> ids)
    • incrementRetry

      public void incrementRetry(List<Long> ids)
    • deleteProcessedEntries

      public void deleteProcessedEntries()
    • deleteExceededRetriesEntries

      public void deleteExceededRetriesEntries(int maxRetries)