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"

Task #2731 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

Create delete callback for client-side polling

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.2.1
Component: Services Version: n.a.
Keywords: n.a. Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-08-12 (14)

Description

Similar to ProcessCallbackI which does not consume a server thread for waiting on scripts to finish, a similar callback is needed in the case of delete. In the initial version, it will probably work strictly by polling the delete handle.

Example usage:

    	DeleteCallbackI cb = new DeleteCallbackI(client, handle);
    	Integer errors = null; 
    	while (errors == null) {
    	    errors = cb.block(500);
    	}

Change History (5)

comment:1 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:2 Changed 14 years ago by jmoore

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

(In [7850]) First version of client-side callback object for delete queue (Fix #2731)

comment:3 Changed 14 years ago by jmoore

(In [7856]) Making callback protected for subclass use (See #2731, #2732)

comment:4 Changed 14 years ago by jmoore

(In [8188]) Throwing ObjectNotFoundException immediately from delete callback (See #2731)

comment:5 Changed 13 years ago by jmoore

(In [8474]) Also catching ObjectNotFoundException in OmeroCpp and OmeroPy (See #2731, r8188)

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.64940 sec.)

We're Hiring!