[metrics-bugs] #22678 [Metrics/metrics-lib]: Look into existing Java Collections classes as replacement for BlockingIteratorImpl
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jun 20 20:14:01 UTC 2017
#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
More information about the metrics-bugs
mailing list