I actually guess that using a mutable set is the optimal way considering set and LogQueueReader creation. I guess it's not exposed (well, except that LogQueueReader exposes a apply method taking a mutable set... There should be a more generic way to do it IMHO.