Are the fields defined in Jodd's Action thread-safe?

16 views
Skip to first unread message

Ruofei Zhang

unread,
Jul 6, 2014, 4:53:36 AM7/6/14
to jod...@googlegroups.com


Are the fields defined in Jodd's Action thread-safe?
If not, how to write a thread-safe action?

Thanks

jodder

unread,
Jul 6, 2014, 12:58:22 PM7/6/14
to jod...@googlegroups.com
Hi there, thanx for your interest in Jodd!

Madvoc actions are created on each request. In that sense, actions (and fields) are threadsafe. Besides creatng new instances, there is no other mechanism of making it threadsafe.

Does this answers your question or you have something else in mind :)

Reply all
Reply to author
Forward
0 new messages