• The AuthorizedCalls bean (shown in Listing 13) provides thread-safe methods for managing the set of authorized calls.

    Authorized Callsbean(清单13)提供了一些线程安全方法用于管理这个经过授权的调用的集合

    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

  • Because these methods might be called from any number of threads at the same time, they too must be implemented to be thread-safe.

    因为这些方法可能很多线程同时调用它们必须实现线程安全的。

    youdao

  • Note that all the methods, even get(), need to be synchronized for the class to be thread-safe, to ensure that no updates are lost, and that all threads see the most recent value of the counter.

    注意所有方法甚至需要同步get(),使成为线程安全类,从而确保没有任何更新信息丢失,所有线程看到计数器的最新

    youdao

  • To ensure that your implementation is thread-safe, a class that implements this interface should use either the synchronized keyword on the methods or synchronized blocks within the methods.

    为了确保实现线程安全的,实现接口应该方法使用synchronized关键字或者在方法内部使用同步锁。

    youdao

  • IBinder methods must, therefore, be implemented to be thread-safe.

    因此ibinder方法必须实现线程安全的。

    youdao

  • The LockPoolMap in Listing 5 exposes thread-safe get and put methods, but spreads the synchronization over a pool of locks, reducing contention substantially.

    清单5中的LockPoolMap展示了线程安全的getput方法同步分散在了充分降低了争用可能性。

    youdao

  • Swing components must be accessed in the EDT, unless you call methods documented as thread-safe.

    Swing组件必须EDT中进行访问除非调用文档化为线程安全的方法

    youdao

  • Swing components must be accessed in the EDT, unless you call methods documented as thread-safe.

    Swing组件必须EDT中进行访问除非调用文档化为线程安全的方法

    youdao

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

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

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