This method of calling services allows you to begin the long-running process on the server side.
调用服务的这种方法允许您在服务器端开始长期运行的进程。
In each case, I ran a simple program that measured the run time of a loop calling a method 10,000,000 times, calling both a synchronized and an unsynchronized version, and compared the results.
在每一个实例下,我运行一个简单的程序,测定循环调用一个方法10,000,000次所需的运行时间,我调用了同步和非同步两个版本,并比较了结果。
Initially, the receiver of the event declares its interest to the publisher by calling the subscribe method.
最初,事件的接收者通过调用订阅方法向发布者声明他的兴趣。
It also generates the code for that new method, calling the child component as part of the code generation.
作为代码生成的一部分,它还调用子组件,生成新方法的代码。
These handlers can perform any number of tasks, including calling a service, setting a value on a class, calling a method on a class, or dispatching another event.
这些事件处理器可以执行任何数量的任务,包括对某项服务的调用,对一个类中某个值的设定,对一个类中某个方法的调用,或者分发另一个事件。
In essence, what happens upon calling this method is that a snapshot of the state of the call stack is taken at that very instant and the sets of permissions intersected with each other.
本质上,调用这个方法所发生的事情是对那一瞬间调用堆栈和一组相互交叠的权限进行快照。
It ACTS like a macro in this context, where calling the method of function via the closure makes the function call in the context of where it's defined.
它在此上下文中用作宏,通过闭包调用函数方法将在定义它的上下文中执行函数调用。
Example of calling a unit test method.
调用单元测试方法的实例。
But because the focus of this article is on defining, calling, and displaying the results of an EJB 2.x session bean method, we kept this Cancel callback behavior simple.
但是由于这篇文章的重点是定义,调用,以及显示一个EJB 2sessionbean方法的结果,我们简单地阻止了这个Cancel回调行为。
As the name implies, calling this method either returns an instance of the bucket (represented by an instance of the S3Bucket type) or creates the bucket in S3.
顾名思义,调用该方法可能返回一个存储段实例(表示为S3Bucket类型的实例)或在s3中创建代码段。
By calling the toString method of the root-level node, the framework can easily marshal the entire XML document.
通过调用根级别节点的toString方法,这个框架可以轻松编组整个XML文档。
The new element creation technique (lines 15-16) differs both by the use of a QName object to represent the element name and by calling a method of the saved factory to build the element.
通过使用QName对象来表示元素名称和通过调用已保存的工厂的方法来构建元素可以区别新元素的创建技术(第 15-16 行)。
Therefore, to determine if a value is a key within a dictionary, you use the in operator to test whether the key is in the list of key values returned by calling the keys method.
因此,要判断某个值是否是dictionary中的键,应该使用in操作符检查这个值是否在调用keys方法所返回的键值列表中。
You can do a similar operation to test whether a value is in the list of data values returned by calling the values method.
可以使用相似的操作检查某个值是否在调用values方法所返回的数据值列表中。
When calling the curry method you need not supply the full complement of actual parameters.
在调用curry方法时,不需要提供所有的实际参数。
I've also covered in detail the options for invoking the bean method and the implications of calling transactional methods.
我还详细介绍了调用bean方法的选项,以及调用事务性方法的意义。
However, the method copies a pointer to the selected function into a local variable, and then calls the function with the call method of the function object, rather than calling it directly.
但是,这个方法将所选函数的指针复制到一个局部变量中,然后用function对象的call方法调用这个函数。而不是直接调用它。
Step 3: Calling a method of the insecure bean.
步骤3:调用不安全bean的方法。
For example, the previous article formed a box by creating a square Face object and calling the pushpull method with an argument of -9.
例如,前一篇文章通过创建一个正方形Face对象,并使用参数- 9调用pushpull方法,形成了一个盒状立体图形。
If the object argument, SRC, is a simple type, then the second step, serializing the value of the object, is a simple matter of calling the src.toString method and writing that out.
如果对象参数src属于简单类型,那么第二步,序列化对象的值,就很简单,只需调用src .toString方法,然后把它写出来就行了。
Step 5: Calling a method of the secure bean.
步骤5:调用安全bean的方法。
Notice this jQuery code is calling a JSON method at the location of our controller.
注意,jQuery代码是在我们的controller上调用JSON方法。
The application server then associates this transaction with the thread of execution before calling the work object's run method.
然后应用服务器会在调用工作对象的run方法之前把这个事务与执行线程关联起来。
The Apache Wink run time USES the asset class to construct the actual response entity by calling the corresponding method of the asset class.
ApacheWink运行时通过调用资产类对应的方法构建实际的响应实体。
Its jQuery.post method is calling the Ajax controller's autosuggest method, which echoes an unordered list of autosuggest results.
它的jQuery . post方法调用Ajax控制器的autosuggest方法,后者回传autosuggest结果的无序列表。
You do this by calling the retract method in the consequence part of your rule.
通过在结果块中调用retract方法实现这一点。
Using this method requires manual adaptation of the db2cos script and registration of lock timeout events by calling db2pdcfg.
使用此方法需要手动改写db 2 cos脚本并通过调用db2pdcfg来注册锁定超时事件。
The individual messages are obtained from the queue by calling the receive method of the message_queue class.
通过调用 message_queue类的receive方法从队列获取消息。
Next, a valid destination for the drag operation is defined by passing a component to a DropTarget object or by calling the new setDropTarget() method of Component.
下一步,拖动操作的有效目的地可通过向DropTarget对象传送一个组件或者调用Component 的新的setDropTarget()方法来定义。
To enable sorting of the columns, you must add the following code to the main method before calling the Shell.open method.
要对列启用排序功能,您必须在调用Shell . open方法前向main方法中添加以下代码。
应用推荐