Hi,
I have more questions on webapp (threadsafe) maps and raf.WriteObject.
1. I have some normal maps initialized with keys/values added. These maps will only be read from other concurrent threads(no modification/del). Are they thread safe?
Info:
http://stackoverflow.com/questions/...va-util-hashmap-from-multiple-threads-no-modi
2. Is it OK to save thread safe maps with Raf.writeobject/readobject? Or I have to write/read by normal maps?
Tks,
bz
I have more questions on webapp (threadsafe) maps and raf.WriteObject.
1. I have some normal maps initialized with keys/values added. These maps will only be read from other concurrent threads(no modification/del). Are they thread safe?
Info:
http://stackoverflow.com/questions/...va-util-hashmap-from-multiple-threads-no-modi
2. Is it OK to save thread safe maps with Raf.writeobject/readobject? Or I have to write/read by normal maps?
Tks,
bz
Last edited: