[
https://issues.apache.org/jira/browse/COLLECTIONS-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000704#comment-17000704
]
Chen edited comment on COLLECTIONS-735 at 12/20/19 8:03 AM:
------------------------------------------------------------
@David Mollitor, [~VarunVats9]:
I have created TransformedDeque, BlockingDeque, CircularDeque,
PredicatedDeque and SynchronizedDeque for deque interface(see
https://github.com/apache/commons-collections/pull/111), I think combine
CircularDeque and BlockingDeque will make a concurrent CircularFifoQueue. I
don't konw if there is a better way to complete it . It would be great if you
could review my PR and give some advice.
was (Author: guoping1):
David Mollitor, Varun Vats :
I have created TransformedDeque, BlockingDeque, CircularDeque,
PredicatedDeque and SynchronizedDeque for deque interface(see
https://github.com/apache/commons-collections/pull/111), I think combine
CircularDeque and BlockingDeque will make a concurrent CircularFifoQueue. I
don't konw if there is a better way to complete it . It would be great if you
could review my PR and give some advice.
> Concurrent CircularFifoQueue
> ----------------------------
>
> Key: COLLECTIONS-735
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-735
> Project: Commons Collections
> Issue Type: Improvement
> Components: Collection
> Reporter: David Mollitor
> Priority: Major
>
> Create a {{CircularFifoQueue}} that is also a {{BlockingQueue}}.
> That is to say, if the queue is full, overwrite the oldest element. If the
> queue is empty, the reader blocks until a value becomes available.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)