Class IDMInMemoryQueueServiceImpl
java.lang.Object
org.exoplatform.services.organization.idm.externalstore.IDMInMemoryQueueServiceImpl
- All Implemented Interfaces:
org.exoplatform.services.organization.externalstore.IDMQueueService
public class IDMInMemoryQueueServiceImpl
extends Object
implements org.exoplatform.services.organization.externalstore.IDMQueueService
Placeholder IDM Queue in memory implementation
-
Constructor Summary
ConstructorsConstructorDescriptionIDMInMemoryQueueServiceImpl(org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionintcount(int nbRetries) intcountAll()voidvoidgetLastCheckedTime(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType) intvoidincrementRetry(List<org.exoplatform.services.organization.externalstore.model.IDMQueueEntry> queueEntries) List<org.exoplatform.services.organization.externalstore.model.IDMQueueEntry> pop(int limit, int nbRetries, boolean keepInQueue) voidpush(org.exoplatform.services.organization.externalstore.model.IDMQueueEntry object) voidsetLastCheckedTime(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, LocalDateTime dateTime) voidstoreAsProcessed(List<org.exoplatform.services.organization.externalstore.model.IDMQueueEntry> queueEntries)
-
Constructor Details
-
IDMInMemoryQueueServiceImpl
public IDMInMemoryQueueServiceImpl(org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
getLastCheckedTime
public LocalDateTime getLastCheckedTime(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType) - Specified by:
getLastCheckedTimein interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-
setLastCheckedTime
public void setLastCheckedTime(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, LocalDateTime dateTime) - Specified by:
setLastCheckedTimein interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-
countAll
- Specified by:
countAllin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService- Throws:
Exception
-
count
- Specified by:
countin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService- Throws:
Exception
-
push
public void push(org.exoplatform.services.organization.externalstore.model.IDMQueueEntry object) throws Exception - Specified by:
pushin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService- Throws:
Exception
-
pop
public List<org.exoplatform.services.organization.externalstore.model.IDMQueueEntry> pop(int limit, int nbRetries, boolean keepInQueue) throws Exception - Specified by:
popin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService- Throws:
Exception
-
storeAsProcessed
public void storeAsProcessed(List<org.exoplatform.services.organization.externalstore.model.IDMQueueEntry> queueEntries) - Specified by:
storeAsProcessedin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-
incrementRetry
public void incrementRetry(List<org.exoplatform.services.organization.externalstore.model.IDMQueueEntry> queueEntries) - Specified by:
incrementRetryin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-
deleteProcessedEntries
public void deleteProcessedEntries()- Specified by:
deleteProcessedEntriesin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-
deleteExceededRetriesEntries
public void deleteExceededRetriesEntries()- Specified by:
deleteExceededRetriesEntriesin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-
getMaxRetries
public int getMaxRetries()- Specified by:
getMaxRetriesin interfaceorg.exoplatform.services.organization.externalstore.IDMQueueService
-