Possibly. It is certainly a good method to keep in mind, so thanks for the reminder.

RegisterImpl can have three relationships to the data its AddressTask collects for a given host and port:

Knows nothing.

Is getting it.

Has it.

I'll have to look at RegisterImpl in general, and its synchronization design in particular, to see how all this is represented, and how the duplication issue can be handled most smoothly.

Patricia


Gregg Wonderly wrote:
Would not ConcurrentHashMap.putIfAbsent() help with some of the duplicate checking?

Reply via email to