Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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

This has been largely if not completely replaced by ome.api.Search.

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.69843 sec.)

We're Hiring!