|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.lucene.ObjectQueue
@ThreadSafe public class ObjectQueue
An abstraction over a list of HibernateHandles, to allow clients to pop the queue and only have to deal with actual persistent objects.
| Constructor Summary | |
|---|---|
ObjectQueue(java.util.List<HibernateHandle> handles,
AnyTypeDao anyTypeDao)
|
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
|
java.util.Collection<com.atlassian.bonnie.Searchable> |
pop()
Converts up to numberToPop handles of the same class into objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectQueue(java.util.List<HibernateHandle> handles,
AnyTypeDao anyTypeDao)
| Method Detail |
|---|
public boolean isEmpty()
public java.util.Collection<com.atlassian.bonnie.Searchable> pop()
org.springframework.dao.DataAccessException - if there was a problem contacting the database
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||