Glazed Lists provides a thread safe
EventList
that you can use without calling
lock()
and unlock()
for each
access. Wrap your EventList
using the factory
method GlazedLists.threadSafeList()
. Unfortunately,
this method has its drawbacks:
Performing a lock()
and
unlock()
for every method call can hurt
performance.
Your EventList
may change
between adjacent calls to the thread safe
decorator.