@ThreadSafe public class ObjectQueue extends Object
HibernateHandle
s, to allow clients to pop the queue and only have to deal with actual persistent objects.Constructor and Description |
---|
ObjectQueue(List<HibernateHandle> handles,
AnyTypeDao anyTypeDao) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
Collection<com.atlassian.bonnie.Searchable> |
pop()
Converts up to numberToPop handles of the same class into objects.
|
public ObjectQueue(List<HibernateHandle> handles, AnyTypeDao anyTypeDao)
public boolean isEmpty()
public Collection<com.atlassian.bonnie.Searchable> pop()
org.springframework.dao.DataAccessException
- if there was a problem contacting the databaseCopyright © 2003–2017 Atlassian. All rights reserved.