简体   繁体   中英

Is the Azure CloudTable class thread-safe in Java?

Just like the .NET SDK for Azure storage, the Java version has a CloudTable class used for executing operations against a specific Azure Table.

And while it seems that the .NET implementation isn't thread safe , I can't find any definitive answer for Java. So is the Java version thread safe or not?

I'm thinking you've already seen the response to the issue you created on github https://github.com/Azure/azure-storage-java/issues/38 . Re-posting the answer for those who come across this question in the future.

We do not make any thread-safety guarantees about our libraries. We also do not test them for thread-safety. Methods that are currently thread-safe may be thread-unsafe in future versions. Thank you for pointing this out to us. We will look into updating our documentation.

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM