[jira] [Commented] (COLLECTIONS-546) Implement expiring queue like already exist PassiveExpiringMap

2019-11-14 Thread Chen (Jira)


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

Chen commented on COLLECTIONS-546:
--

Hi, [~gsavinov]

PassiveExpiringMap can be used to implement caching, and most of the caching is 
also based on map storage. Does PassiveExpiringQueue have a usage scenario? 
In keeping with PassiveExpiringMap, the PassiveExpiringQueue should be 
implemented as a class that decorates the queue, not a concrete queue class. 
But this decorative queue is not only difficult to implement but also not very 
useful.

There is a delayQueue which is a concrete queue in jdk that might suit you!

> Implement expiring queue like already exist PassiveExpiringMap
> --
>
> Key: COLLECTIONS-546
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-546
> Project: Commons Collections
>  Issue Type: New Feature
>  Components: Collection
>Affects Versions: 4.x
>Reporter: Guram Savinov
>Priority: Major
>  Labels: collection, expiration, queue
>
> It's very useful collection wrapper for map with expiration - 
> PassiveExpiringMap.
> Can you implement queue with expiration like already exist PassiveExpiringMap?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (COLLECTIONS-546) Implement expiring queue like already exist PassiveExpiringMap

2019-11-03 Thread Chen (Jira)


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

Chen commented on COLLECTIONS-546:
--

Hello, [~Suryakanth], [~tn], 

Has this feature been implemented?

> Implement expiring queue like already exist PassiveExpiringMap
> --
>
> Key: COLLECTIONS-546
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-546
> Project: Commons Collections
>  Issue Type: New Feature
>  Components: Collection
>Affects Versions: 4.x
>Reporter: Guram Savinov
>Priority: Major
>  Labels: collection, expiration, queue
>
> It's very useful collection wrapper for map with expiration - 
> PassiveExpiringMap.
> Can you implement queue with expiration like already exist PassiveExpiringMap?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (COLLECTIONS-546) Implement expiring queue like already exist PassiveExpiringMap

2015-06-23 Thread Suryakanth (JIRA)

[ 
https://issues.apache.org/jira/browse/COLLECTIONS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14597650#comment-14597650
 ] 

Suryakanth commented on COLLECTIONS-546:


I want to work on this. I want to submit a patch in a day or two.

 Implement expiring queue like already exist PassiveExpiringMap
 --

 Key: COLLECTIONS-546
 URL: https://issues.apache.org/jira/browse/COLLECTIONS-546
 Project: Commons Collections
  Issue Type: New Feature
  Components: Collection
Affects Versions: 4.x
Reporter: Guram Savinov
  Labels: collection, expiration, queue

 It's very useful collection wrapper for map with expiration - 
 PassiveExpiringMap.
 Can you implement queue with expiration like already exist PassiveExpiringMap?



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


[jira] [Commented] (COLLECTIONS-546) Implement expiring queue like already exist PassiveExpiringMap

2015-01-24 Thread Thomas Neidhart (JIRA)

[ 
https://issues.apache.org/jira/browse/COLLECTIONS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14290592#comment-14290592
 ] 

Thomas Neidhart commented on COLLECTIONS-546:
-

Patches are welcome!

 Implement expiring queue like already exist PassiveExpiringMap
 --

 Key: COLLECTIONS-546
 URL: https://issues.apache.org/jira/browse/COLLECTIONS-546
 Project: Commons Collections
  Issue Type: New Feature
  Components: Collection
Affects Versions: 4.x
Reporter: Guram Savinov
  Labels: collection, expiration, queue

 It's very useful collection wrapper for map with expiration - 
 PassiveExpiringMap.
 Can you implement queue with expiration like already exist PassiveExpiringMap?



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