字典 成语 英汉词典
 
全站
导航
字典 成语 英汉词典
Synchronized methods

单词 Synchronized methods

音标 英式发音 美式发音

释义

同步方法

时间: 2026-11-29 21:16:13

Synchronized methods 双语例句

全部


1·Do not include synchronized methods into a loop structure.

不要将同步方法放到循环结构中。

2·To reduce contention in the JVM and operating system, use synchronized methods only when feasible.

为了减少JVM和操作系统中的争用,应该只在可行的情况下才使用同步方法。

3·As described below, the locks associated with Class objects are used in static synchronized methods.

正如下所述,在静态同步方法中用的就是类对象的锁。

4·These locks do not require block structures, so they are more flexible than synchronized methods or statements.

这些锁不需要使用语句结构,所以它们比同步方法或语句更灵活。

5·Synchronized methods and blocks allow a thread to lock an object on entry and unlock the object on exit (to the method or block).

同步的方法和代码块允许线程在入口处锁定对象并在出口处解锁(针对方法或代码块)。

6·Beware that the way the generated proxy creates a Call object depends on whether you have chose to use synchronized methods or not.

请注意,生成的代理创建Call对象的方法取决于您是否选择了使用同步方法。

7·If a class has both synchronized and nonsynchronized methods, multiple threads can still access the nonsynchronized methods of the class!

如果类具有同步方法和非同步方法,则多个线程仍然能够访问该类的非同步方法!

8·If you chose to use synchronized methods (the default), the proxy creates a single call object upon instatiation, then uses it for every method.

如果您选择了使用同步方法(缺省值),代理将根据实例化创建一个单独的 call 对象,然后为每个方法使用该对象。

9·In this case, the object is a class called JLAsink that contains two synchronized methods, one for setting a piece of data and one for retrieving it.

本例中,该对象就是一个名为JLAsink的类,该类包含两个同步的方法,一个用于设置数据块,一个用于检索该数据块。

10·If the problem remains a mystery after analyzing the PMI data, a set of thread dumps of the JVM often pinpoints synchronized methods and other common problems.

如果在评测pmi数据以后,仍然没有找到问题所在,JVM的一些线程堆经常能定位同步方法和其他常见问题。

conformal transformation是什么意思
conformal transformation是什么意思
汉词网为您提供conformal transformation是什么意思,conformal transformation的用法,conformal transformation的词性,conformal transformation的词根,conformal transformation短语搭配,conformal transformation真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
horizontal section是什么意思
horizontal section是什么意思
汉词网为您提供horizontal section是什么意思,horizontal section的用法,horizontal section的词性,horizontal section的词根,horizontal section短语搭配,horizontal section真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
oil drilling platform是什么意思
oil drilling platform是什么意思
汉词网为您提供oil drilling platform是什么意思,oil drilling platform的用法,oil drilling platform的词性,oil drilling platform的词根,oil drilling platform短语搭配,oil drilling platform真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
devolvement是什么意思
devolvement是什么意思
汉词网为您提供devolvement是什么意思,devolvement的用法,devolvement的词性,devolvement的词根,devolvement短语搭配,devolvement真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
conformability是什么意思
conformability是什么意思
汉词网为您提供conformability是什么意思,conformability的用法,conformability的词性,conformability的词根,conformability短语搭配,conformability真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
existent gum是什么意思
existent gum是什么意思
汉词网为您提供existent gum是什么意思,existent gum的用法,existent gum的词性,existent gum的词根,existent gum短语搭配,existent gum真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
disclosure system是什么意思
disclosure system是什么意思
汉词网为您提供disclosure system是什么意思,disclosure system的用法,disclosure system的词性,disclosure system的词根,disclosure system短语搭配,disclosure system真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
Synchronized methods是什么意思
Synchronized methods是什么意思
汉词网为您提供Synchronized methods是什么意思,Synchronized methods的用法,Synchronized methods的词性,Synchronized methods的词根,Synchronized methods短语搭配,Synchronized methods真题例句等功能,学习单词超轻松。
查看完整内容
[11-29]
  • Copyright © 2009-2024 www.mytentv.com 汉词 . All Rights Reserved. 渝ICP备2024018624号-1
  • 汉词,中小学生必上的网站,部分资料来源于网友提供,如有侵权,请与我们联系删除!邮箱:xhy_gz@163.com