public interface DedicatedQueueProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
deferredUpdate(java.lang.String itemId,
ClipboardPage message,
java.lang.String dateTimeDelayProperty)
Defer updates the delayed queue item in the delayed table
|
void |
dequeue(java.lang.String itemId)
Dequeues the item from delayed table
|
void |
dequeueDeferred(java.lang.String itemId)
Defer dequeue the item from delayed table
|
java.lang.String |
enqueue(ClipboardPage message,
EnqueueOperationConfig config)
With the given message and config, the message is enqueued to the delayed table
|
ClipboardPage |
getDelayedMessageForUpdate(java.lang.String itemID)
For the given itemID, Updates the pyItemStatus to 'Now-Updating' in delayed table and returns the message page for update
|
boolean |
repair(java.lang.String itemId)
Repairs an item which is in broken and requeues it without creating a new itemID.
|
void |
updateQueueItem(java.lang.String itemId,
ClipboardPage message,
java.lang.String dateTimeDelayProperty)
Updates the delayed queue item in the delayed table
|
java.lang.String enqueue(ClipboardPage message, EnqueueOperationConfig config)
message
- To be enqueuedconfig
- EnqueueOperationConfigvoid dequeue(java.lang.String itemId)
itemId
- of messagevoid updateQueueItem(java.lang.String itemId, ClipboardPage message, java.lang.String dateTimeDelayProperty) throws DatabaseException
itemId
- of messagemessage
- is the new message to be updateddateTimeDelayProperty
- is the new dateTimeDelayProperty to be updatedDatabaseException
void deferredUpdate(java.lang.String itemId, ClipboardPage message, java.lang.String dateTimeDelayProperty) throws DatabaseException
itemId
- of messagemessage
- is the new message to be updateddateTimeDelayProperty
- is the new dateTimeDelayProperty to be updatedDatabaseException
ClipboardPage getDelayedMessageForUpdate(java.lang.String itemID) throws DatabaseException
itemID
- of messageDatabaseException
void dequeueDeferred(java.lang.String itemId)
itemId
- of messageboolean repair(java.lang.String itemId)
itemId
- Item ID to repairCopyright © 2022 Pegasystems Inc. All Rights Reserved.