You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Mingfai Ma (JIRA)" <ji...@apache.org> on 2009/05/17 20:55:45 UTC

[jira] Updated: (DROIDS-50) Add example of queue size checking logic

     [ https://issues.apache.org/jira/browse/DROIDS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mingfai Ma updated DROIDS-50:
-----------------------------

    Attachment: DROIDS-50.patch

the patch uses an AtomicInteger to track the size of queue, so it avoids calling size() on the queue every time when new task is being added. 




> Add example of queue size checking logic
> ----------------------------------------
>
>                 Key: DROIDS-50
>                 URL: https://issues.apache.org/jira/browse/DROIDS-50
>             Project: Droids
>          Issue Type: Wish
>            Reporter: Thorsten Scherler
>         Attachments: DROIDS-50.patch
>
>
> Due to DROIDS-47 the queue size checking logic is commented. We need to add back this feature in an example to show how to implement such logic.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.