After all, that attribute guarantees that the method will run without a transaction.
毕竟,该属性将确保方法在没有事务的情况下运行。
In this article, you've examined a simple, but powerful, method to run commands on a remote machine.
在本文中,您研究了一种用于在远程计算机中运行命令的简单但功能强大的方法。
Once you can successfully run for long stretches, don't feel as if you have to abandon the run/walk method.
当你可以成功地跑很长一段的时候,不要觉得可以你可以丢掉跑步/步行方法。
The WSDL model USES one such extension hook, a post-set method, to run the verification logic.
WSDL模型会使用一个这样的扩展元素,即一个后设方法,来运行这个验证逻辑。
Onceyou can successfully run for long stretches, don't feel as if you haveto abandon the run/walk method.
当你可以成功地跑很长一段的时候,不要觉得可以你可以丢掉跑步/步行方法。
The other method USES proprietary functions to run the external programs.
另一种方法将使用专用函数来运行外部程序。
The annotation means that the method will be run in a new transaction.
此标注意味着,该方法将在新事务中运行。
The net effect is that this method will run into more and more overhead as it's used to create longer strings.
总的效果就是用这个方法创建更长的字符串时,它会产生越来越大的开销。
If the test method does not run as anticipated, we will get an error (and a traceback describing the error).
如果测试方法没有按预期运行,我们将得到一个错误(以及描述这个错误的回溯)。
If a method is 10 lines long and 8 lines of the method were exercised in a test run, then the method has a line coverage of 80%.
如果一个方法有10行代码,其中的8行在测试中被执行,那么这个方法的行覆盖率是80%。
One quick and easy method is to run /usr/sbin/authconfig and enter information in two screens.
一种快速而简单的方法是运行 /usr/sbin/authconfig,并在两个屏幕中输入信息。
Because this code is in the onModuleLoad() method, it will run automatically when the module loads.
由于这段代码位于onModuleLoad()方法中,因此它将在模块载入时自动运行。
But JUnit will reflectively find the suite method and run all tests returned by it.
但它会反射性地找到suite方法并运行由它返回的所有测试。
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(如果后者存在的话)。
While this method might run more slowly than hand-crafted Perl and XML: : Simple, you don't have to write it and you don't have to debug it.
虽然这种方法运行起来可能比手工编码Perl和XML:simple慢,但不需要编写,也不需要调试。
Note that the testCreate() method is run 10 times with each thread launched 100 milliseconds apart.
请注意,testCreate()方法运行10次,每个线程间隔 100毫秒启动。
The immediate access method to run the SQL through the Teradata DBC/SQL partition.
通过TeradataDBC/SQL分区运行 SQL的立即访问方法。
The class ThreadClass inherits from threading.Thread and because of this, you need to define a run method that executes the code you run inside of the thread.
类ThreadClass继承自threading . thread,也正因为如此,您需要定义一个run方法,以此执行您在该线程中要运行的代码。
So the run method of this object keeps on executing until the contextDestroyed variable is set to true.
因此,这个对象的run方法将继续执行,直到将 contextDestroyed变量设置为 true 为止。
Whenever a user selects Open from a menu bar, the run method on line 13 executes.
每当用户从菜单栏选择“open…”时,都要执行第13行上的run方法。
The application server then associates this transaction with the thread of execution before calling the work object's run method.
然后应用服务器会在调用工作对象的run方法之前把这个事务与执行线程关联起来。
The run method for saving and loading USES these methods to perform the requested action.
用于保存和装载的run方法使用这两个方法来执行被请求的动作。
I simply create an instance of GroovyShell, pass in the script name, and call the run method.
我只是创建了GroovyShell的实例,传递进脚本名称,然后调用run方法。
This interface processes various requests in the handler?s thread of control using a run() method.
该接口使用run()方法在处理程序的控制线程中处理各个请求。
So far, that method has always been run, but it is legal to declare variables in any method.
迄今为止,方法一直都是run,不过在任何方法中声明变量均是合法的。
Not surprisingly, the run method contains the code I wrote to create new instances of those objects and the main method calls the run method.
不用惊讶,run方法包含我编写的、用来创建这些对象的新实例的代码,而main方法则调用run方法。
This thread is created by the primordial thread, which executes the run method containing a for loop.
此线程由原始线程创建,后者执行包含for循环的run方法。
The RunMailRules class contains a run() method; this is where your code gets called when the button is clicked.
RunMailRules类包含一个run()方法;这就是单击按钮时调用代码的地方。
For example, with my test, I'll first call the getDefinition() method and then provide an implementation of a Timer's run() method.
以我的测试为例,我将首先调用getDefinition()方法,然后提供一个Timer的run() 方法的实现。
应用推荐