• 多个单例对象存在两个多个虚拟中。

    Multiple singletons in two or more virtual machines.

    youdao

  • 多个单例对象不同加载同时加载

    Multiple singletons simultaneously loaded by different class loaders.

    youdao

  • 我们正在件事支持集群单例服务

    One of the things we are working on is support for clustered singleton services.

    youdao

  • 那么,要怎么样使用提供者呢?

    So, how does one use the SingletonProvider?

    youdao

  • 创建模式一个通用编程习语

    The Singleton creation pattern is a common programming idiom.

    youdao

  • 可以调用静态方法一样访问对象的方法。

    You can access methods on singleton objects similar to how you would call static methods.

    youdao

  • 4显示了使用方法而非属性指定适当单例

    Listing 4 shows a version of the singleton that USES a method instead of an attribute to specify the appropriate class.

    youdao

  • UI组件应用对象(一个单例)都能收到系统事件

    Both UI components and the Application object (which is a singleton) can receive system events.

    youdao

  • 静态getInstance方法包含单例模板代码

    The static getInstance method contains the template code for a singleton.

    youdao

  • 还记得吗object表示 Scala中的一个单例

    Remember that object denotes a singleton in Scala.

    youdao

  • 坚信大多数框架中,使用单例模式时,考虑太少了。

    It is my true belief that Singleton patterns have been used with far too little thought in most frameworks.

    youdao

  • 对象垃圾回收机制回收然后单例又被重新加载

    Singleton classes destroyed by garbage collection, then reloaded.

    youdao

  • 相反可以定义对象(而不是)并且将成为单例

    Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.

    youdao

  • Singletonbean一个所属容器上下文中的对象。

    A singleton bean is a singleton in the context of the owning container.

    youdao

  • 构造方法运行同时,恰好被另一线程访问两个对象创建

    Two singletons will be created if the constructor runs and simultaneously another thread calls the method.

    youdao

  • 由于子类也是单例的实,所以可能出现多个单例并存的情况。

    Since an instance of a subclass is an instance of your superclass, you could find multiple instances of the singleton.

    youdao

  • 因此除非仔细计划,否则应该避免使用JAX - RS资源单例

    Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.

    youdao

  • 他们发现每次他们创建一个不同单例时候,都不得不同样代码

    Those who use it will find that they often have to write the same code each time they want to create a different Singleton class.

    youdao

  • 单例副本运行多个虚拟中时,每个虚拟机都会创建一个对象

    When copies of the singleton class run in multiple VMs, an instance is created for each machine.

    youdao

  • Spring之前bean提供了两种作用域原型(或者叫非)。

    Spring has traditionally offered two scopes for beans: singleton and Prototype (or non-singleton).

    youdao

  • 单例模式有用的控制访问途径他能保证只有个类存在

    Singletons are a useful way to control access to a class, making sure that only one instance can exist.

    youdao

  • 更有甚者,对象能够状态化;这样它们可以作为一个状态仓库外提供服务

    Moreover, singletons can be stateful; in this case, their role is to serve as a unique repository of state.

    youdao

  • 生成器工厂方法设计模式视为是创建模式,因它们可协助对象构建

    The singleton, builder, and factory method design patterns are considered creational patterns, as they assist in the construction of objects.

    youdao

  • 单例模式同样用于控制数据库连接或者sockets这样资源访问

    Singletons often control access to resources such as database connections or sockets.

    youdao

  • 通常描述符起到不好影响使类似一个模式(singleton)。

    This has the usually undesirable effect of making the descriptor something like a singleton. For example.

    youdao

  • 然后展示PHPV5.3LSB特性给出单例活动记录设计模式

    Then it shows how PHP V5.3's LSB feature resolves those issues, while showing implementations of the singleton and active record design patterns.

    youdao

  • 一个可用创建需要每个特定的重写单例模式代码可重用的类。

    This is a class that can be used repeatedly to instantiate a class as a singleton without having to re-write the singleton pattern code for that specific class.

    youdao

  • 对象被当着垃圾回收然后单例又被重新加载,一个新的单例对象创建

    When a singleton class is garbage-collected and then reloaded, a new singleton instance is created.

    youdao

  • 不同书本培训课程所提的单例模式真正的企业具有非常复杂数据架构

    Unlike the simplistic models in books and training courses, a real enterprise has a very complicated data architecture.

    youdao

  • 一个Scala单例(singleton),因为使用对象声明而不是声明。

    This is a Scala singleton because it USES the object declaration instead of a class declaration.

    youdao

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

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

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