Recently, I came across a question. Suppose I have a bolt withing a ArrayList as its private field, every time this bolt receives a tuple, it store the incoming tuple into this list, And when the list's size reach a certain value, the bolth emit the a the whole list.
The question is should I implement this List as thread safe or not ? 2014-07-31 唐思成
