Task #2731 (closed)
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 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
comment:3 Changed 9 years ago by jmoore
comment:4 Changed 9 years ago by jmoore
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [7850]) First version of client-side callback object for delete queue (Fix #2731)