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"

Task #2003 (closed)

Opened 9 years ago

Closed 9 years ago

Simplify InteractiveProcessor usage

Reported by: jamoore Owned by: jamoore
Priority: n.a. Milestone: OMERO-Beta4.2
Component: n.a. Version: n.a.
Keywords: n.a. Cc: dzmacdonald, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-03-05 (4)

Description

r6273 shows the difference between IScript.runScript and SharedResources.acquireProcessor. For users, the former is obviously much nicer. However, having the stateful InteractiveProcessPrx in the user's hands can free up threads on both the client and server side.

TODOs:

  • disable multiple executions
  • combine InteractiveProcessor and Process
  • FutureException v. Notification v. Polling v. Wait (possibly remove)

Change History (2)

comment:1 Changed 9 years ago by jmoore

  • Status changed from new to assigned

comment:2 Changed 9 years ago by jmoore

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6319]) * fix #2003 - Adding ScriptProcess and readding IScript.runScript

  • fix #1859 - Improve Scripts.ice documentation

Also:

  • Added JobHandle.setMessage()
  • Added omero.scripts.ProcessCallbackI in OmeroPy
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.78942 sec.)

We're Hiring!