using salve in a thread-pooling application server

0 views
Skip to first unread message

pete...@googlemail.com

unread,
Jul 15, 2009, 10:00:22 AM7/15/09
to Salve
When I am using salve in an application server that uses thread-
pooling should I set

DependencyLibrary.setCacheProvider(bew NoopCacheProvider())

to ensure that dependencies are not kept in a ThreadLocal that will be
reused in another thread context?

Igor Vaynberg

unread,
Jul 15, 2009, 11:10:37 AM7/15/09
to salve...@googlegroups.com
threadlocal is there just so the cache implementation does not have to
be concurrent and you can get better locality.

-igor
Reply all
Reply to author
Forward
0 new messages