public interface PRQueueIterator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
ClipboardPage |
first()
Get oldest (first) queue item based on criteria and class specified when
this QueueIterator was constructed via
PRQueueManager.iterator(String) |
ClipboardPage |
first(boolean aAcquireLock)
Get oldest (first) queue item based on criteria and class specified when
this QueueIterator was constructed via
PRQueueManager.iterator(String) |
java.lang.Object |
next()
Get next queue item based on criteria and class specified when
this QueueIterator was constructed.
|
ClipboardPage |
next(boolean aAcquireLock)
Get next queue item based on criteria and class specified when
this QueueIterator was constructed via
PRQueueManager.iterator(String) |
ClipboardPage next(boolean aAcquireLock)
PRQueueManager.iterator(String)
If previous locked item exists in the owning QueueManager, will throw Exception.
This method will return the item that is the next oldest after the previous item retrieved by this iterator.
aAcquireLock
- Should queue item be reserved for exclusive processing. If
lock is acquired, this marks the start of the transaction that can be completed
via rollback or commit. Note: If aAcquireLock is false, item will NOT be locked
for exclusive processing, and could potentially be processed by another requestor.java.lang.Object next()
If previous locked item exists in the owning QueueManager, will throw Exception.
This version of next always acquires a lock on the item which can be released via commit() or rollback().
This method will return the item that is the next oldest after the previous item retrieved by this iterator.
ClipboardPage first(boolean aAcquireLock)
PRQueueManager.iterator(String)
If previous locked item exists in the owning QueueManager, will throw Exception.
This method ignores any previous items retrieved by this iterator, so it may return the same item repeatedly.
aAcquireLock
- Should queue item be reserved for exclusive processing. If
lock is acquired, this marks the start of the transaction that can be completed
via rollback or commit. Note: If aAcquireLock is false, item will NOT be locked
for exclusive processing, and could potentially be processed by another requestor.ClipboardPage first()
PRQueueManager.iterator(String)
If previous locked item exists in the owning QueueManager, will throw Exception.
This method ignores any previous items retrieved by this iterator, so it may return the same item repeatedly.
This version of first always acquires a lock on the item which can be released via commit() or rollback().
Copyright © 2015 Pegasystems Inc. All Rights Reserved.