User Story #59 (closed)
Opened 18 years ago
Closed 15 years ago
Implement IQueue Stateful Bean
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4 |
Component: | API | Keywords: | n.a. |
Cc: | Story Points: | n.a. | |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
New api (stateful) which allows one to create a queue from any query, and call
"next()" in a synchronized way.
Roughly:
q = (IQueue) context.lookup("omero.Queue") q.fillFromQuery("select i from Image i where name like %wow%") Image i = (Image) q.next() //.. q.destroy()
This should obviously also work from multiple threads/processes.
Originally: http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=625
Change History (2)
comment:1 Changed 15 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4
comment:2 Changed 15 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
This has been largely if not completely replaced by ome.api.Search.