[undertow-dev] Cache object that is not thread safe

Steve Hu stevehu at gmail.com
Thu Apr 5 05:35:58 EDT 2018


I need to share the same instance of a "Util" object to reuse it in all the
handleRequest calls. Where is the best place to store the Util object
instance? The Util class is not thread safe, so I should have one instance
for each client thread.

Thanks,

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20180405/d1890571/attachment-0001.html 


More information about the undertow-dev mailing list