但是服务请求就成了简单的方法调用。
But the services invocation then comes as a simple method call.
代码片段类似于可在其中传递参数的方法调用。
Snippets are like method calls, in which you are passing in parameters.
在php中的方法调用是这样工作的。
每一个转换都是用识别转换类型的方法调用来配置的。
Each transformation is configured using a method call that identifies the type of transformation.
除了字段接入时间测试之外,我还进行了相同的方法调用时间测试。
Besides the field access time tests, I did the same sort of timing test for method calls.
此时,如果指定的方法调用数量大于0,将启动方法调用。
At this point, method invocations are initiated, if you have specified a number greater than 0.
调用处理程序类必须知道如何处理所有接口类型的方法调用。
The invocation handler class must know how to deal with method invocations of all the interface types.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
Method invocations on dynamic proxy classes do not perform nearly as well a direct method call on objects.
在图1所示的用例中,用户能看到单击按钮后所发生的方法调用的结果。
In the use case shown in Figure 1, the user is presented with the results of the method call that happens after he or she clicks a button.
幸运的是,Groovy可以捕获这些不存在的方法调用,并采取一些有效的操作。
Luckily, Groovy can catch these calls to methods that don't exist and do something productive with them.
当一个这样的方法调用另外一个时,我们必须给调用者加上返回类型,如下面的例子。
When one such method calls another, we have to add a return type to the one doing the calling, as in this example.
上面这个类中的test方法被另一个类中的方法调用,如清单17所示。
The method test in the class above is called by a method in another class, as shown in Listing 17.
connect允许Dojo应用程序向其他对象中的方法调用附加函数。
Allows Dojo applications to attach functions to method invocations in other objects. For example, the following code fragment attaches the function foo to the method bar in the object obj.
还可以重构调用处理程序,让它处理其他横跨不同对象类型的方法调用的操作。
The invocation handler could also be refactored to handle other operations across multiple method invocations on different object types.
Method Request——包含诸如参数等上下文信息,并表示对活动对象的方法调用。
Method Request? Contains the context information such as parameters, and represents a method call on the active object.
另外,使用了一个代码例子,证明远程的方法调用比一个本地的调用会花费高于千倍的代价。
In addition, using a code example, he demonstrates that a remote method call is more than a thousand times more expensive than a local method call.
当然,可以根据需要把预期的方法调用次数设置为任何范围,比如1 -10次、3- 30次。
Of course, you can change these arguments to expect methods to be called 1 to 10 times, 3 to 30 times, or any other range you like.
某些类(如Socket和InetAddress)需要一个复杂的方法调用序列,以便正确交互。
Some classes (such as Socket and InetAddress) require a sophisticated sequence of method invocations for proper interaction.
有两种形式,第一种是宏,它就像是具有延迟参数的方法调用一样,这些参数可用特殊的方式计算出来。
They take two forms, the first one is macros, which is basically like method calls with lazy arguments that can be evaluated in special ways.
一个著名的资料来源就曾经引证说一个同步的方法调用比一个非同步的方法调用慢50倍。
One well-known source has cited that a synchronized method call is as much as 50 times slower than an unsynchronized method call.
对代理类的方法调用,被分配给调用处理程序,而调用处理程序是在代理类生成的时候指定的。
Method invocations on a proxy class are dispatched to an invocation handler that is specified when the proxy class is generated.
通过一个异步的方法调用,容器将控制权返还给客户端并且在一个单独的线程上继续处理该调用。
With an asynchronous method invocation the container returns control to the client and continues processing the invocation on a separate thread.
如果使用SpringAOP进行事务处理,那么可以声明性地安排适当的方法调用,而不必逐个安排。
If you used Spring AOP for transaction handling you could place the appropriate method calls declaratively, rather than having to place each one individually.
留有尽可能多完整的方法调用,这意味着JRebel把性能开销降低到了最小,使其轻量级化。
Leaves as many method invocations intact as possible. This means that JRebel minimizes its performance overhead, making it lightweight.
这个建议匹配的方法调用是在JDBC连接上定义的,而且会返回Statement或任何子类。
This matches any call to a method defined on a JDBC connection that returns a Statement or any subclass thereof.
通过修改这个advice以缩进方式显示嵌套的方法调用,并且打印传递和返回的值,我将改进这一不足。
I'm going to fix this shortcoming by changing my advice to show method call nesting by indentation, and also to print the values being passed and returned.
CLI还提供了一个非常方便的help函数,您可以对资源、资源集合和这些项的方法调用该函数。
The CLI also offers a very handy help function that you can call on resources, resource collections, and the methods of those items.
在此阶段,模拟对象处于记录状态——即简单地定义对象将一直期望的方法调用,因此,模拟将相应地记录期望。
At this stage, the mock object is in record state - that is, you're simply defining the method calls it will expect along the way. So, the mock is recording expectations accordingly.
EJB 2.0规范引入了本地客户端视图,当在同一J VM里运行EJB时避免了远程的方法调用。
The EJB 2.0 specification introduced local client views, which eliminate the need to use remote method invocations when running EJBs within the same JVM.
另一个解决方案是只隐藏这些相互冲突的方法中的一个,并解析所有匹配的方法调用以引用未隐藏的方法。
Another solution would be to simply hide one of these clashing methods and resolve all matching method calls to refer to the method not hidden.
应用推荐