From this, you can get an AgentManager, which provides the methods for asking the grid to execute your agent code.
通过此句柄,您可以获取AgentManager,它提供了请求网格执行您的代理代码的方法。
See Listing 9 for the reduce agent code you are going to run on each partition (Figure 3). The logic is very intuitive.
请参见清单9,了解将在每个分区上运行的reduce代理代码(图3)。
From the sample code TAB on the Stubby document, copy the example agent code that was generated and paste it into the agent.
从Stubby文档的samplecode附签上,复制所生成的示例代理代码,然后粘贴到代理中。
After you create the class, you can enter the rest of the agent code so that it looks like the agent from the Domino Designer example.
在创建类之后,就可以输入剩余的代理代码,从而使其看起来与DominoDesigner示例中的代理一样。
You may find it useful to look at the agent code to see how it does its database access task, but that goes beyond the scope of this article.
您也许会发现,检查代理代码以确定它如何完成其数据库访问任务会很有用,不过这超出了本文的范围。
You may find it useful to look at the agent code to see how it does its database access task, but that goes beyond the scope of this article.
您也许会发现,检查代理代码以确定它如何完成其数据库访问任务会很有用,不过这超出了本文的范围。
应用推荐