• Is this method thread safe?

    方法线程是否安全

    youdao

  • Very lightweight and non thread safe.

    轻量但是不是线程安全的。

    youdao

  • Note that this code is fully thread safe.

    注意这样代码完全线程安全的。

    youdao

  • Consider for example usage of the thread safe StringBuffer.

    举例来说,考虑一下线程安全StringBuffer的用法

    youdao

  • What this means is that the following code is not thread safe!

    表示下面代码不是线程安全的。

    youdao

  • Library functions have dire warnings that they may not be "thread safe."

    调用库函数时经常遇到一些“线程安全”的可怕警告

    youdao

  • In situations where you know you need thread safety, use a thread-safe view.

    需要线程安全情况下,请使用线程安全视图。

    youdao

  • The object pool needs to keep track of the state of each object and to be thread safe.

    对象需要跟踪每个对象状态而且应该线程安全的。

    youdao

  • Compass: A thread safe instance used to open Compass Sessions for single thread usage.

    Compass线程使用,创建线程安全实例打开Compass Seesion。

    youdao

  • Indexing and searching are not only thread safe, but process safe. What this means is that.

    建立索引搜索不是线程安全的,但是进程级安全的。

    youdao

  • The index writer however, is thread safe, so you can update the index while people are searching it.

    索引线程级安全的,所以人们搜索更新索引。

    youdao

  • Making a class thread safe requires additional care during the implementation and testing of the class.

    使一个线程安全需要实现测试该类时非常小心

    youdao

  • Consider a thread-safe container class - a data structure that guarantees thread safety to its clients.

    可以考虑使用线程安全容器—一个保证用户操作线程安全的数据结构

    youdao

  • However, the query parser is not thread safe, so each thread using the index should have its own query parser.

    不过怎样查询析器不是线程安全的,所以每个使用索引的线程都需要自己的查询刨析器。

    youdao

  • In this example, I don't focus on other issues related to this pattern, such as synchronization to make it thread safe.

    实例中,没有针对其他与此模式相关问题保持同步确保线程安全。

    youdao

  • You should also remember that static classes that preserve state between method calls should be made thread safe by default.

    应该记得,在方法调用之间保留状态静态默认情况下应该线程安全的。

    youdao

  • Because of the stateful way propagation tracks which (successively less specific) rules have been called, a dispatcher is not thread safe.

    由于传播采用有状态方式跟踪调用哪些(依次不太特定的)规则所以分派器不是线程安全的。

    youdao

  • You may have occasionally pondered whether to synchronize an entire method call or only the thread-safe subset of that method.

    可能偶尔会思考是否同步化这个方法调用还是同步化方法线程安全子集

    youdao

  • One advantage of immutable classes is that they are thread-safe.

    (不可一个优点就是它们线程安全的)。

    youdao

  • Objects that you put on the session should be thread-safe and serializable.

    放到会话中的对象应该线程安全可序列化的。

    youdao

  • In some situations, the methods you implement might be called from more than one thread, and therefore must be written to be thread-safe.

    某些场合方法可能会不止一个线程调用,因此这些方法必须写成线程安全的。

    youdao

  • In its simplest mode it ACTS as a thread-safe queue in which consumers are blocked while the queue is empty.

    最简单的使用模式便是作为一个线程安全的队列,并且队列阻塞消费者

    youdao

  • Sometimes, it is very difficult to make a class thread-safe without compromising its functionality, ease of use, or performance.

    有时,要在不影响功能易用性性能情况下使成为线程安全困难的。

    youdao

  • There is no straightforward way to make the code in Listing 1 thread-safe, making this idiom an accident waiting to happen.

    没有直观途径来使清单1中的代码线程安全的,这使这种语言风格成为了一种等待时机发生的事故

    youdao

  • Moreover, it may be impossible to make a non-reentrant function thread-safe.

    另外或许可能某个不可重入的函数是线程安全的。

    youdao

  • They all output the same value illustrating that this is a thread-safe generic way to create singletons.

    所有线程返回相同,这说明一个线程安全的使用型来实现的单态模式。

    youdao

  • In this article, you'll learn how to build a thread-safe data repository for keeping auto-saved form data.

    本文中,学习如何构建线程安全数据存储库自动保存表单数据。

    youdao

  • Listing 3 shows you how to use this thread-safe version.

    清单3说明如何使用线程安全版本

    youdao

  • One common use is for storing a singleton of a type that is not thread-safe.

    一种常见用法用于存储线程安全类型例。

    youdao

  • One common use is for storing a singleton of a type that is not thread-safe.

    一种常见用法用于存储线程安全类型例。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定