Your goal is to build a simple controller that will know which model and function to run, and then return a JSON object as a response that is usable on the far end of the transaction.
您的目标是构建这样一个简单的控制器:它知道应该运行哪个模型和函数,然后返回一个JSON对象作为响应,这个响应可用于事务的远端。
The ability to examine the metadata of a type or object instance at run time is a powerful feature.
在运行时检查类型或对象实例的元数据的能力是一个非常强大的功能。
However, the constructor for this object has not run yet, which is precisely the situation that breaks double-checked locking.
然而,此对象的构造函数尚未运行,这恰是破坏双重检查锁定的情况。
In this case, the JVM tuning resulted in varying improvements for the three run time modes due to the unique object allocation patterns associated with each.
在本例中,jvm调优为三种运行时模式带来了不同程度的改善,因为它们分别采用所特有的对象分配模式。
All that is required is to separate out the build time object attributes from the run time attributes.
所需的要求就是将构建时对象属性与运行时属性分离开来。
Run time: performance degradation (even when using object pools), both in response time and CPU consumption, is evident with complex nested objects.
运行时:在响应时间和CPU的消耗两者上性能的下降(即使当使用对象池时),明显有着复杂嵌套对象。
At run time, a factory object can generate a connection, locate the CICS server, and invoke the CICS program at the server.
在运行时,工厂对象可以生成连接、定位CICS服务器和激活服务器上的CICS程序。
When a single object is loaded, no fewer queries are run than if lazy association is used.
当装载单一对象时,运行的查询并不比使用惰性关联时少。
We'll also show you how to set up the adapter and run the enterprise discovery wizard to create a BAPI transaction object for you.
我们还将向您介绍如何设置适配器和运行企业发现向导,以创建BAPI事务对象。
Here, the validation logic is run as part of a service external to the object that is calling it.
在这里,验证逻辑作为调用对象的外部服务运行。
Under JMS 1.1, it is often not necessary to know until run time what kind of object the destination will be.
在JMS 1.1中,在运行时之前通常不必知道目的地是何类对象。
Run-time variables are simply the raw bytecodes and object structures that the regular Python interpreter handles.
运行时变量只是常规Python解释器处理的原始字节码和对象结构。
In a prototype life cycle, the Apache Wink run time instantiates a new object for every incoming request.
在原型生命周期中,ApacheWink运行时为每个传入请求实例化一个新的对象。
When I run this query, every single object - including all the Employees returned earlier - is sent back.
当运行这个查询时,每个单一对象—包括以前返回的所有Employee—都被返回了。
Specifically, all Grails artifacts get a log object injected into them at run time so that they can easily log messages for later review.
具体来讲,所有Grails工件都会在运行时被注入一个log对象,以便它们可以轻松地记录消息,以供未来审核。
A "task" is an object consisting of a set of system resources that enable "threads" to run.
“任务”是“线程”运行所需若干系统资源组成的一个对象。
This is a little unusual in that the Spring framework instantiates an object that is already run from the command line, but that just keeps things simple for the purposes of this demonstration.
这有点反常,因为Spring框架实例化一个已经从命令行运行的对象,但那只是为了实现演示目的而进行的简化。
One output object will be created for each output format specified in the outputFormat run option.
将为 outputFormat运行选项中指定的每个输出格式创建一个output对象。
A plug-in need not explicitly specify a custom Plugin class; if none is specified, the run time platform provides a default plug-in run time object that ignores all life cycle requests.
插件不需要显式地指定一个自定义plugin类,如果没有指定这样的类,那么运行时平台将提供一个忽略所有生命周期请求的缺省插件运行时对象。
The second run accessed the JLAsink object more times than the first run and did it in less time.
第二次运行访问JLAsink对象的次数比第一次运行多,并且它花的时间较少。
Ruby binds the object to the type at run time, each time you change the object.
而Ruby则是在运行时每当更改对象的时候将对象绑定到类型。
One thread could see the STR reference refer to a String object in which the constructor has not run.
一个线程能看见str引用一个String对象,在该对象中构造函数尚未运行。
For the purposes of this article, we will create 10 pool threads per ProductionLine object and expand the pool if we run out of threads for any reason.
就本文的目的而言,我们将为每个ProductionLine对象创建10个入池线程,如果出于某些原因耗尽线程,我们还会扩展线程池。
Note: to initialize the Logical Disk object, you need to run the Diskperf tool and restart the system.
注意:为了初始化logicalDisk对象,需要运行Diskperf工具并重启系统。
When the heap object's finalize method is run and its memory freed, the SoftReference object is added to its ReferenceQueue, if it exists.
当heap对象的finalize方法被运行而且该对象占用的内存被释放,S of tReference对象就被添加到它的ReferenceQueue(如果后者存在的话)。
When the heap object's finalize method is run and its memory freed, the WeakReference object is added to its ReferenceQueue, if it exists.
当heap对象的finalize方法被运行而且该对象占用的内存被释放时,WeakReference对象就被添加到它的ReferenceQueue(如果后者存在的话)。
So the run method of this object keeps on executing until the contextDestroyed variable is set to true.
因此,这个对象的run方法将继续执行,直到将 contextDestroyed变量设置为 true 为止。
Rational Functional Tester cannot recognize the object at run time, because the object properties do not match.
RationalFunctionalTester无法在运行时识别对象,因为对象属性无法匹配。
This object must have a method called run(), which is executed by the runtime once the current frame in the call stack is specially marked as described above.
这个对象必须有一个名为run() 的方法,在调用堆栈中的当前帧特别做了如上所述的标记时,由运行时执行这个方法。
This object must have a method called run(), which is executed by the runtime once the current frame in the call stack is specially marked as described above.
这个对象必须有一个名为run() 的方法,在调用堆栈中的当前帧特别做了如上所述的标记时,由运行时执行这个方法。
应用推荐