Tue Feb 15 17:16:05 GMT 2011
Here is an tricky concurrency concern in Java when using Anonymous Inner Class with ExecutorService, if you use collection from outside class, that collection actually a global variable in the Inner Class, and need to take care the issues happened in concurrency access.
For this class:
actually same as
(google search) (amazon search)