java.lang.Object | |
↳ | bucket.core.persistence.hibernate.HibernateEntityObjectQueue |
Used for batch indexing.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
log |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear any underlying caches that might be kept as the queue is run through.
| |||||||||||
Release all resources (i.e.
| |||||||||||
Get a collection of the next "group" of objects from the queue.
|
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||
From interface
bucket.core.persistence.EntityObjectQueue
|
HibernateException |
---|
Clear any underlying caches that might be kept as the queue is run through. This is an efficiency measure for when an operation is running through a large number of objects, and the underlying DAO implementation hangs on to memory for the entire session.
Release all resources (i.e. database connections) held by the queue. Anyone who retrieves a queue is responsible for closing it when they are done.
Get a collection of the next "group" of objects from the queue. The size of this group is determined by the queue itself, it's just a "reasonable" size for the underlying implementation. If there are no more objects available, an empty list will be returned.