@Deprecated public interface EntityObjectQueue
These are useful if you are performing an operation against a lot of objects, but don't want to load all the objects at once. You can get their Handles, and then run through them and have the queue lazy-load the objects in smaller batches.
Retrieve the queue appropriate to your DAO implementation using
EntityObjectQueueFactory.getEntityObjectQueue(java.util.List)
.
It is not safe to give the same queue to multiple threads. However, if each thread has a different queue sharing the same set of handles, they will run through the handles safely in parallel.
The queue may re-order the list if it means it can retrieve the objects more efficiently.
Modifier and Type | Method and Description |
---|---|
void |
clearCaches()
Deprecated.
Clear any underlying caches that might be kept as the queue is run through.
|
void |
close()
Deprecated.
Release all resources (i.e.
|
List |
getNextObjects()
Deprecated.
Get a collection of the next "group" of objects from the queue.
|
List getNextObjects()
void close()
void clearCaches()
Copyright © 2003–2019 Atlassian. All rights reserved.