Class IDMQueueDAO
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>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountAllNotProcessedAndMaxNbRetries(int maxRetries) intcountAllNotProcessedAndNbRetries(int nbRetries) voiddeleteExceededRetriesEntries(int maxRetries) voidgetEntriesNotProcessedWithNBRetries(int nbRetries, int limit) voidincrementRetry(List<Long> ids) voidsetProcessed(List<Long> ids) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
IDMQueueDAO
public IDMQueueDAO()
-
-
Method Details
-
countAllNotProcessedAndMaxNbRetries
public int countAllNotProcessedAndMaxNbRetries(int maxRetries) -
countAllNotProcessedAndNbRetries
public int countAllNotProcessedAndNbRetries(int nbRetries) -
getEntriesNotProcessedWithNBRetries
-
setProcessed
-
incrementRetry
-
deleteProcessedEntries
public void deleteProcessedEntries() -
deleteExceededRetriesEntries
public void deleteExceededRetriesEntries(int maxRetries)
-