[
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.