[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #22678 [Metrics/metrics-lib]: Look into existing Java Collections classes as replacement for BlockingIteratorImpl
#22678: Look into existing Java Collections classes as replacement for
BlockingIteratorImpl
-------------------------------------+--------------------------
Reporter: karsten | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/metrics-lib | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------------+--------------------------
Looks like `java.util.concurrent.BlockingQueue<Descriptor>` might be a
good replacement for our custom `BlockingIteratorImpl<Descriptor>`. Or if
the interface doesn't exactly match our needs (thinking of end-of-stream
elements), maybe we can use that class internally rather than building our
own blocking queue. This means less code and fewer bugs. This could
resolve #21365.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22678>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs