You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/28 17:48:58 UTC

[jira] [Commented] (COLLECTIONS-575) Synchronized queue wrapper in QueueUtils

    [ https://issues.apache.org/jira/browse/COLLECTIONS-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15616064#comment-15616064 ] 

ASF GitHub Bot commented on COLLECTIONS-575:
--------------------------------------------

GitHub user Xaerxess opened a pull request:

    https://github.com/apache/commons-collections/pull/19

    COLLECTIONS-575: Add synchronized queue wrapper

    Added `QueueUtils#synchronizedQueue(Queue)` wrapper and `SynchronizedQueue` with tests. Please check if I used proper conventions as it's my first PR to commons-collections.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Xaerxess/commons-collections COLLECTIONS-575-synchronized-queue

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-collections/pull/19.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19
    
----
commit 91725eb4f518826254c4c8d53903f2193dc58d32
Author: Grzegorz Rozniecki <gr...@akamai.com>
Date:   2016-10-28T17:45:11Z

    COLLECTIONS-575: Add synchronized queue wrapper

----


> Synchronized queue wrapper in QueueUtils
> ----------------------------------------
>
>                 Key: COLLECTIONS-575
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-575
>             Project: Commons Collections
>          Issue Type: New Feature
>          Components: Collection
>    Affects Versions: 4.0
>            Reporter: Guram Savinov
>              Labels: queue, synchronization, wrapping
>             Fix For: 4.x
>
>
> There is no synchronized queue wrapper in QueueUtils like in MapUtils or ListUtils for example.
> My own case: I want to synchronize CircularFifoQueue operations, for this I need synchronized queue wrapper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)