• Do not include synchronized methods into a loop structure.

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

    youdao

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

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

    youdao

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

    如下所述,静态同步方法中用的就是对象

    youdao

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

    这些需要使用语句结构所以它们同步方法语句灵活

    youdao

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

    同步方法代码允许线程入口处锁定对象出口处解锁(针对方法代码)。

    youdao

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

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

    youdao

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

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

    youdao

  • 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对象然后每个方法使用该对象。

    youdao

  • 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,该类包含两个同步方法用于设置数据,一个用于检索数据块。

    youdao

  • 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一些线程经常定位同步方法其他常见问题

    youdao

  • In this installment of the 5 things series, I introduce some of the subtler aspects of multithreaded programming with synchronized methods, volatile variables, and atomic classes.

    5件事系列中,将通过同步方法volatile变量原子介绍多线程编程一些更隐晦方面

    youdao

  • Only methods or code blocks can be marked "synchronized".

    只有方法代码同步标记。

    youdao

  • A synchronized call to an empty method may be 20 times slower than an unsynchronized call to an empty method, but how often do we call empty methods?

    方法同步调用可能要比对一个空方法的非同步调用20我们多长时间才调用一次空方法呢?

    youdao

  • The information in table 1 tells us that those methods are synchronized.

    1信息告诉我们这些方法都是同步的。

    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

  • Recall that the methods of the Vector class are nearly all synchronized.

    回想一下vector方法几乎同步

    youdao

  • In WebSphere Process Server V7, the method to claim a task USES a query table and combines the query and claim methods previously used to eliminate the need for the synchronized block.

    WebSphereProcessServerv 7中声明任务方法一个查询表结合早期用于消除同步需求查询声明方法

    youdao

  • Here, the accessor methods for user and service data are synchronized, which means that they are synchronizing on the AttributesStore object.

    这里用户服务数据访问器方法同步的,意味着它们AttributesStore对象上同步。

    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

  • The six checked*() methods work similar to the six synchronized*() and unmodifiable*() methods.

    其中6checked*()方法工作起来与 6 个synchronized*()unmodifiable*() 方法类似

    youdao

  • Methods: Aerial performances of diving are captured using two synchronized DV cameras, which are controlled by a motion capture software implanted in a notebook PC.

    方法安装于笔记本电脑运动采集软件及其相连接的DV摄像机同步采集三米跳板跳水空中动作。

    youdao

  • Furthermore, if static data are synchronized, calls between static methods that alter state can result in deadlocks or redundant synchronization, adversely affecting performance.

    此外如果同步静态数据更改状态的静态方法调用导致死锁冗余同步,从而降低性能

    youdao

  • Methods that are not synchronized may still execute at any time, even if a synchronized method is in progress.

    如果一个同步方法正在执行,其他的同步方法可以任何时候执行。

    youdao

  • The results of experiments show that the methods are effective to overcome the influence of jamming on synchronized sampling based on GPS.

    试验结果表明方法有效克服干扰信号GPS同步采样装置影响

    youdao

  • The methods to amplify the synchronized error and to decrease the cross correlation are proposed to generate the encryption variables which are very sensitive to parameters.

    提出同步误差放大、基波缩减方法获取参数变化敏感相关性小的加密变量

    youdao

  • When multiple threads can make calls to the properties and methods of a single object, it is critical that those calls be synchronized.

    多个线程可以调用单个对象属性方法时,对这些调用进行同步处理非常重要

    youdao

  • The start from introduction of the general characteristic formula of trigger, and explains the theory and methods on analyzing as-synchronized sequential circuit. Examples are also given.

    介绍触发器广义特性方程入手阐述了应用它分析异步时序电路原理方法,并举例说明了应用。

    youdao

  • The start from introduction of the general characteristic formula of trigger, and explains the theory and methods on analyzing as-synchronized sequential circuit. Examples are also given.

    介绍触发器广义特性方程入手阐述了应用它分析异步时序电路原理方法,并举例说明了应用。

    youdao

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

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

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