【问题标题】:Is the Azure CloudTable class thread-safe in Java?Java 中的 Azure CloudTable 类是线程安全的吗?
【发布时间】:2015-05-10 19:56:54
【问题描述】:

就像用于 Azure 存储的 .NET SDK 一样,Java 版本有一个 CloudTable 类,用于针对特定的 Azure 表执行操作。

虽然似乎是 .NET 实现 isn't thread safe,但我无法为 Java 找到任何明确的答案。那么Java版线程安全吗?

【问题讨论】:

    标签: java multithreading azure azure-table-storage


    【解决方案1】:

    我想您已经看到了对您在 github https://github.com/Azure/azure-storage-java/issues/38 上创建的问题的回复。为以后遇到此问题的人重新发布答案。

    我们不对我们的库做任何线程安全保证。我们也不会测试它们的线程安全性。当前线程安全的方法在未来版本中可能是线程不安全的。感谢您向我们指出这一点。我们将考虑更新我们的文档。

    【讨论】:

      【解决方案2】:

      Azure API v12 is said to be threadsafe

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-03-07
        • 2010-12-16
        • 1970-01-01
        • 2016-08-24
        • 1970-01-01
        • 2019-04-23
        相关资源
        最近更新 更多